This short guide explains how to set up and test the AI Agent demo that will be used during our talk with directors.
The objective is to demonstrate how an AI Agent can be created in n8n and use email as a tool.
All required configurations are already prepared in the template file.
In this demo you will:
- Import a pre-configured AI Agent workflow into n8n.
- Review the agent prompt and tool configuration.
- Configure your email address in the email node.
- Run the agent and see it send emails as a tool action.
The workflow template already includes:
- AI Agent configuration
- Prompt setup
- Email tool integration
- Basic automation flow
You only need to import the template and update the email address.
Open the n8n instance in your browser: https://n8npub.xptoai.com.br/.
Log in as:
- Username:
news@xptoai.com.br - Password:
Oracle!2026
Inside n8n:
- Click Import Workflow
- Import from url and add the link:
https://raw.githubusercontent.com/MachadoAmanda/news-agent/refs/heads/main/Template%20agent.json - Confirm the import
(Follow the same process illustrated in the images)

After importing, the workflow will appear with all nodes already configured.
(Change the workflow name adding your name on it)

Locate the Email Node in the workflow.

Update the configuration:
- Replace the email address with your own email
No other configuration changes are required.
The Agent Prompt is already configured in the template.

However, you may adjust it if desired to:
- Change the agent behavior
- Modify the instructions
- Adapt the email style or message content
This step is optional.
Publish your agent by following the steps

Once the email is configured and the agent is published:
- Run the workflow
- Send a message in the chat or into the public chat webpage (Follow image steps)
- Observe the agent using the email tool to send a message
This demonstrates how AI agents can interact with external tools inside automation workflows.
This example illustrates how easily an AI Agent can be integrated into business automation using n8n:
- AI agents embedded in workflows
- Tool usage (email sending)
- Prompt-driven behavior
- Fast deployment using templates
With a simple template and minimal configuration, it is possible to deploy AI-powered agents that interact with enterprise tools, enabling new levels of automation and productivity.