Passing data to flow from trigger

Hi,
I have a trigger set up for when a new email meeting certain conditions arrives in my Gmail inbox. I want to use that specific email as the input for my flow, as using Gmail.Folder(“Inbox”)(0) might fetch a new email that isn’t the one triggering the flow.

How can I achieve this?

@Gabriele_Radici,

You should be using Integration Services designed for this kind of use cases.

Thanks,
Ashok :slight_smile:

Yep,
I create a trigger in the integration service as you can see.

I receive a lot of mail in the mailbox so when the flow start the mail I want to use is not always the first.
So I can’t run my flow properly. How can i solve that?

@Gabriele_Radici,

This can help you.

Thanks,
Ashok :slight_smile:

I’m trying to use your solution.
Which type of variable is UiPathEventObjectId?

Thank you

Hi,

I think its of the type String. Refer this document Integration Service - Triggers

@Gabriele_Radici,

Let me get back to you on this with some POC.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.