This article demonstrates how you can store the content of your emails in Google Docs. This could be very useful in cases when you get product updates on email and you want to store data in Google Docs for future reference.
What you'll need:
Skill level: Intermediate
Time required: 5 minutes
- An email account (For demonstration purposes, we are using a Gmail account here)
- A dedicated Google Docs to store the email content
Configuring the trigger
- In the Event section, click on the New Trigger button and then choose the Gmail app from the drop-down menu in the Apps field.
- Select the trigger event as Get email, from the drop-down menu in the Trigger Event field.
- Click on the Link an account button to establish a connection:
- A pop-up window will open asking you to sign in to your Google account. Select the account you wish to use. You will then be asked to grant permission to quickwork.co to access your Google account. Click on Allow. Your Gmail account will get connected successfully:
- Once your connection is established, select a label to filter the new emails that you receive whose content you want to store in Google Docs. For this demonstration, we have chosen the label INBOX:
Configuring the steps for the action
- In the Steps section, click on the Simple Action button and choose the Google Docs app from the drop-down menu in the Apps list.
- Select the Action as Append text from the drop-down menu.
- Click on the Link an account button to establish a connection:
- A pop-up window will open asking you to sign in to your Google account. Select the account you wish to use. You will then be asked to grant permission to quickwork.co to allow access to your Google account. Click on Allow:
- As soon as you click on allow, the connection will get established. Now, in the Folder dropdown, select the folder in which your Google Docs is present. In the File dropdown, select the name of the Google Docs you want to append the Email text in.
- In the Text field, drag and drop the Body as plain text data pill from the Data Tree Output section present on the right side:
Executing the journey
Save the changes in the journey and click the Save & Start button. You'll be taken to the History tab automatically.
When you receive an email in the account that you have chosen to link, the journey will get triggered automatically.
After you receive an email, you’ll see a record appear in the history table with a unique ID:
A new window opens from the right displaying the journey structure and a few other details. In the Steps section, click on the action bar to expand. The Input tab shows the inputs provided:
Open the Google Docs that you had selected. You will see that the text from the new email has been appended to Google Docs:
Thus, your new email content has been stored in Google Docs.
Comments
0 comments
Please sign in to leave a comment.