> ## 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.

# Send a conversation summary by email

> Use a playbook to collect and confirm the user’s email address, then send the key points and follow-up actions through the connected Gmail tool.

Use a playbook to collect and confirm the user’s email address, then send the key points and follow-up actions through the connected [Gmail tool](/docs/documentation/build/tools/gmail-tool).

<a id="what-can-integrating-tools-be-used-for" />

### 1. Set up your agent

    In a new project or an existing one, open the [Agent](/docs/documentation/build/global-prompt) 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, [explore the platform overview](/docs/documentation/introduction) before continuing.

### 2. Create a playbook

    Create a new [playbook](/docs/documentation/build/playbooks) 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
    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
    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](/docs/documentation/build/tools/overview)

  All of Voiceflow's officially supported integrations.

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