Skip to main content
Voiceflow’s tools let you connect your agent to external services so it can take real-world actions during a conversation. This guide walks you through a complete integration using the Gmail tool, which you can use to automatically send emails directly from your agent.

What can integrating tools be used for?

Voiceflow offers the option to link other softwares (ie. Gmail, Excel, etc.) to your agent in a couple of simple steps. For example, you want your agent to send an email? Integrate the Gmail tool and it can do that!
1

Set up your agent

In a new project or an existing one, open the Agent tab. Make sure your agent has a global prompt that defines its overall behaviour and purpose. If this is your first time setting up an agent, visit our getting started guide before continuing.
2

Create a playbook

Create a new playbook and title it “Send summary email”. In the playbook’s LLM description, describe its purpose so the agent knows when to invoke it.For this integration, your playbook will need to collect an {email_address} from the user to send emails to. Use the example prompt below as a starting point for your “Send summary email” playbook.
Your goal is to wrap up the conversation by sending the user a summary of what was discussed over email.

**Steps:**
1. Ask the user for their email address in a friendly way (eg: "Before I send that over, could I grab your email address?")
2. Store it as {email_address}
3. Confirm the address back to the user before sending
3

Connect the Gmail tool

Inside your playbook, add the Gmail tool. Select ConnectConnect, then choose your Gmail account. Once connected, select Send email as the action.In the tool’s LLM description, describe what you want the tool to send (eg: a summary of the conversation sent to {email_address}). Use the example below as a reference.Send a friendly summary email to email_address. The subject line should be “Here’s a summary of our conversation”. In the body, write a short, warm recap of the key points discussed, any actions the user said they’d take, and anything you agreed to follow up on. Keep it concise and easy to skim.
Send a summary email to {email_address} with the following:

**To:** {email_address}
**Subject:** Here's a summary of our conversation

**Body:**
- A short, warm intro (1-2 sentences)
- Key points discussed
- Any actions the user said they'd take
- Anything you agreed to follow up on

Keep it concise and easy to skim.
4

Publish your agent

Open AgentPublish in the top-right corner. Your agent is now live and can automatically send emails from your connected Gmail account!

What’s next?

Now that you’ve connected your first integration, you’re ready to explore all the tools available for your agent.

Third-party integrations

All of Voiceflow’s officially supported integrations.
Want to connect to another service? You can use the API tool in a playbook or the API step in a workflow to connect to any external API.