Create a workflow that sends an email notification through Gmail whenever a new card is
created in your Trello account.
Before you begin
Configure the Trello - New Card trigger. For more information, see
Adding triggers.
Procedure
- Search for the Gmail connector in the action panel, drag it onto
the canvas. You see that it gets automatically connected to the Trello - New
Card trigger.
- Connect the Gmail connector to the Stop
icon to complete your workflow.
- Configure Gmail - Send an Email action by double-clicking the
Gmail icon. In the action configuration window, enter the required
details:
- Select Action- Select Send an Email
action from the list.
- Label- Provide a suitable name for the action (for example,
Send an Email).
- Authorize Gmail- Select the account that you want to use to run
the action from the list. If you have not created an account yet, click the +
icon.
- Enter the keys that are required to create the Gmail authorization.
- Click Save. The Gmail account is added.
- Click Next. In the action configuration window, enter the required
details:
- To- Enter the email ID of the user to whom you want to send the
email.
- Subject- Any subject of your choice.
- Body- You can use the output of the trigger as an input for
this field. The output of the trigger is visible under the {trigger_name} - Trigger
Data field. Clicking the list next to the trigger name displays the list of trigger
output keys, along with the sample output values that are retrieved from the previous trigger test
execution.
- From the trigger output list, select the text parameter for the
Body field. It includes the content (text) of the tweet in the body of the
email when the workflow is run.
Note: Provide values to all the mandatory fields when you configure an action. You can also provide
values for non-mandatory fields based on your requirements.
- Click Next. You are redirected to the Test
action window where you can check whether the action is working as expected before
running the workflow.
Note: Testing a logger action or any other action is supported up to 10 MB. If you test with data
greater than 10 MB, you get a message size too large error.
- Click Done. You are redirected to the canvas.
Results
The action is successfully set up. Now, click Save to save the
workflow.
What to do next
Verify whether the workflow is running as expected, by creating a new card in your Trello
account. It triggers your workflow and sends the notification to the specified email address through
Gmail.