How to save post-call data Google Sheets & Webhook
How to configure automatic saving of call data
Written By Product
Last updated 4 months ago
How it works
After each call (inbound or outbound), the agent can automatically save the collected data to Google Sheets. The configuration can be found in Step 3: Agent Post-Call Actions. Integrations with Webhook and N8N are also available for advanced needs.
Summary of positions on the platform:
Complete configuration flow
PART 1: Prepare Google Sheets
First, create the sheet where the call data will be saved.
Step 1.1 - Create a dedicated sheet
Go to sheets.google.com
Click "+ New" → "Google Sheet"
Rename the sheet (e.g., "DeepAgent calls")
Create the headers in the first row
📲 For OUTBOUND agents (recommended, but not mandatory):
📞 For INBOUND agents:
Step 1.2 - Check permissions
Make sure you have edit permissions on the sheet
If the sheet is in a shared Drive, verify that you can write to it
PART 2: Configure the Fields to Collect (Step 2)
Before setting up saving, define what data you want to collect during the call.
Step 2.1 - Go to Step 2: In-Call Actions
Open the agent in Agent Builder
Go to Step 2: In-Call Actions
Step 2.2 - Configure Custom Data Collection
Scroll down to the "Custom Data Collection" section and add the fields you want to collect:
PART 2B: Configure the Data Collection Prompt (Step 5)
The custom fields defined in Step 2 indicate what data to save, but the agent needs to know how to collect it during the conversation. To do this, you need to add instructions to the prompt.
Which data requires instructions in the prompt?
Step 2B.1 - Go to Step 5: Instructions
Open the agent in Agent Builder
Go to Step 5: Instructions
Step 2B.2 - Add instructions for data collection
Add a dedicated section in the agent prompt. Choose the template that suits your agent type:
📲 For OUTBOUND agents:
📞 For INBOUND agents:
Step 2B.3 - Examples of natural questions
The agent should ask for information in a conversational manner, not like a form to be filled out:
PART 3: Configure Google Sheets (Step 3)
Step 3.1 - Go to Step 3: Post-Call Actions
Continue with agent setup
Go to Step 3: Post-Call Actions
Step 3.2 - Open the Google Sheets wizard
In the "Google Sheets" section, click "+ Configure."
The multi-step configuration wizard will open
Step 3.3 - Connect your Google Account (Wizard Step 1)
Click "Sign in with Google"
Authorize access to Google Sheets
Grant all requested permissions
Step 3.4 - Select the Workspace (Wizard Step 2)
Choose where the sheet is located:
My Drive – Your personal Google Drive
Shared Drive – Shared team drives
Step 3.5 - Select the Sheet (Wizard Step 3)
Search for and select the sheet you created in Part 1 (e.g., "DeepAgent Calls")
You can also paste the spreadsheet URL directly
Step 3.6 - Select the Tab (Wizard Step 4)
Select the specific tab (sheet)
By default, the first tab ("Sheet1") is used
Step 3.7 - Configure Field Mapping (Wizard Step 5)
Map the fields of the call to the columns of the sheet:
Default available fields:
phone_number – Number called/caller
call_duration – Duration in seconds
call_outcome – Outcome (answered, voicemail, no_answer, etc.)
transcript – Full transcript
summary – Summary of the call
timestamp – Date/time of the call
All custom fields defined in Step 2
Step 3.8 - Choose the Conflict Strategy (Wizard Step 6)
Choose how to handle duplicate rows:
📲 For OUTBOUND agents (recommended):
✅ Update existing – If the number already exists, update the row
Ideal for outbound: each contact has a single row, always up to date
📞 For INBOUND agents (recommended):
✅ Always add – Each call creates a new row
Ideal for inbound: keep a history of all calls
Step 3.9 - Complete the configuration
Click "Complete"
Check that the configuration is visible in the Google Sheets section
Webhook and N8N (Optional)
In addition to Google Sheets, in Step 3: Post-Call Actions, you can also activate:
Webhook – Send call data (in JSON format) to your server or external service. You can also include the audio recording.
N8N – Connect call data to an N8N workflow for advanced automation.
PART 4: Deploy and Test
Step 4.1 - Save and Deploy
Go to Step 6: Test & Deploy
Click "Save" to save all changes
Click "Deploy" to publish the changes
Wait for the "Deploy successful" confirmation
Step 4.2 - Make a test call
Make a test call
Complete the conversation
Wait a few seconds after the call ends
Step 4.3 - Check Google Sheets
Open the Google Sheets document
Check that a new row has been added
Verify that all fields are populated correctly
PART 5: Frequently Asked Questions and Solutions
If you encounter any of the situations below, follow the solution indicated:
Final Checklist
Before considering the configuration complete, verify that you have completed all of these steps:
Was this helpful?
More in Integrations
How to Launch Outbound Campaigns Using API TriggersStill need help? Share an idea