Gmail Receive
What is Gmail Receive node?
Node in Stack AI
The Gmail Receive allows you to use the content and the recipient of an email as input for your workflow. This node is useful for creating workflows that are triggered by an email. For example, you can create a workflow that replies to emails that you receive on your Gmail account.
How to use it?
Connections to an Gmail Receive node
To utilize the Gmail Receive node, you must establish the following connections:
Output: The node returns the content and the recipient of each email received through the linked Gmail account.
Additionally, you will need to link the node with an account. Click on the Authenticate button and link it to your account. Once done this, some additional features will appear:
Trigger history: you will see a list of all the emails received at the node.
Test email sender: especify the email you would like to use to test the workflow (it's the email sender that is going to be used every time you play Run in the workflow builder).
Test email body: especify the body of the email you would like to use to test the workflow (same as above).
Gmail Send node connection parameters
Example of usage
A practical application of Gmail Receive node involves integrating it with an AI assistant designed to answer emails based on context data provided through a knowledge base of URLs.
Replying emails automatically via an LLM
To construct this workflow, employ an LLM to reply to your emails. Incorporate a Gmail Receive node to funnel emails, and link an URLs + Search node to add URLs for context. A Gmail Send node will send the reply to the email sender.
System prompt (LLM)
You are a helpful AI assistant. You respond to emails.
Sign as X, employee @ Y.
If they ask about meeting here is my calendar link: link Z.
If they want to learn about Stack AI look at the context.
Was this helpful?