Get email content into Cloud Code

I have an office workflow where we send customers invoices. I want to add an email address to the current email, and somehow that email and the invoice attachments are available to Cloud Code to process.

Is there an easy and existing way to do this? Right now, I’m thinking about using the Gmail APIs, but I would like something easier.

This seems like a great use for FlowRunning, but I didn’t see any with reading emails.

Thanks,
Tim

Hi Tim,

This is indeed a great use-case for FlowRunner. The Get Messages List action will retrieve the email according to the configured filters:

Once the messages are retrieved, you can pass them into your Cloud Code (every API service method becomes an action in FlowRunner).

Please let us know if you any additional assistance with this.

Mark

Awesome! Thanks @mark-piller. I didn’t check the marketplace. I’m glad I checked with you.

Once I get the message, I need to read data from the attachment PDFs. What do you recommend for that?

Tim

I recommend using an AI Assistant for that. See the following video, which reviews an automation flow that uses AI to extract data from an image:

To get the sample flows, create a new app in Backendless and select New App for FlowRunner Training. The flow reviewed in the video is included in the created app.

Regards,
Mark

Thanks @mark-piller!

I’ll start exploring this.

Tim