In the fast-paced world of automation, having the ability to trigger agents directly from your email can significantly streamline your processes. This guide will walk you through how to set up and use the email-trigger feature in FluxPrompt, enabling you to kick off agents effortlessly by simply sending an email.
What is an Agent Email Trigger?
An agent email trigger allows you to initiate an agent by sending an email. This functionality is particularly useful for automating repetitive tasks or for triggering actions that need to be performed based on incoming emails.
Steps to Trigger an Agent from Your Email
Add an API Input Node
To begin, you'll need to add an API Input Node to the agent you wish to trigger via email. Here’s how:
1. Open your desired agent in FluxPrompt.
2. Add an API Input Node: This node will act as the entry point for your agent when triggered by an email.
3. Configure the Node: Ensure it is correctly configured to handle the data coming from your emails.
Locate Your Agent Email Address
Each agent has a unique agent email address found in its global agent settings:
1. Go to the Global Agent Node Settings within your specific agent by clicking on the gear icon in the upper right corner of the node.
2. Locate and copy the agent email associated with this agent.
Compose and Send Your Email
Now that everything is set up, you can trigger the agent by sending an email:
1. Open your preferred email client.
2. Compose a new message:
- To: Enter the agent email address noted earlier.
- From: Ensure this matches the registered email address of your FluxPrompt account.
- Body: The body of your email will be fed into any node connected with your API Input Node.
Handling Multiple API Input Nodes
If you have more than one API Input Node in your agent, note that only the first added node will receive and process incoming emails.