> ## Documentation Index
> Fetch the complete documentation index at: https://www.voiceflow.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate with third-party tools

> Connect your agent with the outside world in 5 minutes.

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](https://www.voiceflow.com/docs/documentation/build/tools/gmail-tool.md), 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](https://www.voiceflow.com/docs/documentation/build/global-prompt.md) 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](https://www.voiceflow.com/docs/courses/chat-agent-quick-start.md) before continuing.

**2. Create a playbook**

Create a new [playbook](https://www.voiceflow.com/docs/documentation/build/playbooks.md) and title it "Send summary email". In the playbook's **Trigger**, 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.

```text theme={null}
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 **Connect** → **Connect**, then choose your Gmail account. Once connected, select **Send email** as the action.

In the tool's **Trigger**, 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.

```text theme={null}
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 **Agent** → **Publish** 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](https://www.voiceflow.com/docs/documentation/build/tools/overview.md)**
>
> All of Voiceflow's officially supported integrations.

Want to connect to another service? You can use the [API tool](https://www.voiceflow.com/docs/documentation/build/tools/api-tool.md) in a playbook or the [API step](https://www.voiceflow.com/docs/documentation/build/steps/api.md) in a workflow to connect to any external API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.