Gmail Triggers
Use Gmail events to set a trigger for workflow execution. To create an event for Gmail, complete the following steps:
1. Place the pointer on the start icon
, and then click
or double-click
. A list of triggers appears.
2. Select Gmail. In the trigger configuration window, do one of the following:
◦ If a trigger is already created, select an existing trigger, and then click SAVE.
◦ To create a new trigger, click Create a new event for Gmail, and then proceed with the following steps.
3. Edit the Trigger Label, if needed.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
5. Click TEST to validate the connector.
6. In the Select Trigger list, select one of the following events:
◦ New Email—A new email is received.
◦ New Attachment—An email contains an attachment.
◦ New Labeled Email—A received email is labeled within two days.
7. In the
Search Text field, enter the search text to search for a specific email. Specify the search query in the
Field Name : Filter Value format. For example,
from : someone@example.com or
subject : Test. For information on filter queries, refer to the
Gmail Help.
8. In the Label list, select a label for which you want to set the trigger. This is mandatory for the New Labeled Email event.
For the New Labeled Email event, if you select Label as Trash, the trigger fires off every time a new email is moved to a label named Trash.
9. Under the Custom Filters section, click ADD, and then do the following:
a. Map the appropriate fields from the Trigger Data section to the Input field.
b. Select an appropriate value in the Condition list.
c. Set a value in the Expected field.
Click
Add to add multiple custom filters. Click
to delete any custom filter that you added.
10. Click SAVE.