Prerequisites
Email sending must be enabled for your workspace, with a sender (From) address and a reply-to address. Contact AGO to set this up. If the tool is used before email sending is enabled, the agent receives an error and tells the user it could not send the email.Create the tool
1
Create the tool
- Go to Agents > Tools and click Create Tool.
- Enter a Name (for example
send_customer_email), a Display Name, and a Description that tells the agent when to send an email. - Set Tool Type to
ago_send_email. - Click Save.
2
Assign it to an agent
Open the agent in Agents and add the tool under Capabilities > Available Tools.
Parameters the agent fills
Each email has a single
to_email recipient. The email is sent from your workspace’s From address, with replies going to its reply-to address.
Fixed settings
Use Additional Info (JSON) to set values the agent cannot change:Example
Agent instructions
Add rules like these to the agent’s instructions so it sends emails only when it should:Automatic emails on tickets
For emails sent without involving the agent, see ticket notifications. Built-in ticketing emails requesters when your team replies publicly and notifies a form’s watchers when a ticket is created. With an external helpdesk, configure notifications there.Troubleshooting
The agent says email is not enabled
The agent says email is not enabled
Email sending is not set up for your workspace. Contact AGO to enable it.
The email never arrives
The email never arrives
- Ask the recipient to check their spam folder.
- Check the address the agent used in the conversation.
- If emails are sent from your own domain, check with your IT team that the domain’s SPF and DKIM records are in place, then contact AGO support.
The agent sends emails without asking
The agent sends emails without asking
Make the tool Description and the agent’s instructions explicit: the agent should only send an email after the user asks for it and confirms the address.
