Search Mails
Use this action to retrieve the emails that match the specified keyword from the Gmail account.
Using the Search Mails Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Search Mails action under the Gmail connector to the canvas, place the pointer on the action, and then click or double-click the action. The Search Mails action window opens.
2. Edit tftphe label name, if needed. By default, the label name is same as the action name.
3. To add a new authorization, refer to the section Authorize Gmail in the Gmail connector topic.
* 
If you previously added an authorization for Gmail, select an authorization from the list.
4. In the Max Results field, enter the maximum number of records to include in the result.
5. Click + to view the additional fields, and then enter the details that follows:
Filter Keyword—The filter query to retrieve specific records in the format such as Field Name : Filter Value. For example, ‘from : someone@example.com’ subject : Test. For more information on filter queries refer to the Gmail support Website.
Next Page Token—The next page token value to retrieve the records of a specific page.
6. Click Done.
Was this helpful?