# HubSpot + Google Sheets

Use a Google Sheets lead list and HubSpot contact records to coordinate authorized follow-up calls.

This is an example to build and test for the user's accounts, not a preconfigured connector.

## Example

A teammate adds a qualified lead to a shared Google Sheet. A worker finds the matching HubSpot contact, calls when consent and a phone number are present, and saves a receipt for the team.

## How it works

1. **Detect an eligible row.** Use an authorized form-submit notification or a scheduled worker that checks for new eligible rows. Keep a stable lead ID; row numbers can change when a sheet is sorted.
2. **Find the HubSpot record.** Match the lead's email to the intended contact and decide how to handle missing or duplicate matches before making a write.
3. **Place and reconcile the call.** Check the phone and permission to call, then use a stable key for the intended call. Save the call ID and observed result to the contact and the matching row; check an uncertain write before retrying.

## What you need

- Google access to the selected sheet and a stable ID column for each lead.
- An approved HubSpot connection or credential with the required contact access.
- An enabled Agent Worker and approved execution and call limits; calls require a funded wallet and recipient permission.

Agent Worker runs are billed separately from calls and texts. Check instance availability, [pricing](/docs#pricing), permissions and the user's approved limits. Test with fictional data before activation. Preserve stable event IDs and reconcile an uncertain write before retrying it.

## Prompt

```text
Help me follow up on eligible Google Sheets leads using HubSpot. Match contacts by email, use stable lead IDs, call only with permission, and record each call receipt in the contact and row. Show a fixture, safe retry behavior and costs before activation.
```

## Provider documentation

- [Google Sheets: append values](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/append)
- [HubSpot contacts API](https://developers.hubspot.com/docs/api-reference/crm-contacts-v3/guide)
- [Google Apps Script trigger restrictions](https://developers.google.com/apps-script/guides/triggers/installable#restrictions)

[Agent Worker webhook playbook](/recipes/crm-trigger-call.md) · [Connection guide](/docs#worker-connections)
