Hello everyone, I discovered this project for an alternative to IFTTT. It’s amazing how much can be done, great job.
My current project is to retrieve backup notification emails from a gmail box, then send the notifications via webhook to a Google Chat room.
I currently proceed as follows:
Cron job
Check a directory of a GMAIL mailbox.
Transformation of body text (HTML) into binary data.
Writing a binary file locally on the machine. (/ Files)
Execution of a utility via Execute Command to transform HTML into PNG (wkhtmltoimage, added to docker). (PNG stored in / files)
Send the PNG file to a Google Drive account.
Creation of a sharing URL for this PNG file.
Sends webhook request
I’m currently having a problem sending my file to my Google Drive storage. I was wondering if I could send a local file, or if I had to transform this image into binary data and then send it back to Google Drive.
Hi @antoinesnowleader, welcome to the community. We are very glad that you found us
You can use the Read Binary File (or Read Binary Files) node to read a local file and then connect it to the Google Drive node to upload it. The workflow could look something like this:
In the workflow above, you’d have to adjust a few things like the File Path in the Read Binary Node and the File Name in the Google Drive node. Hope that helps!