# HubSpot + Cal.com

Use a Cal.com booking to find a HubSpot contact, place an authorized follow-up call and record what happened.

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

## Example

A prospective customer books a product demo. An Agent Worker checks the booking and contact, calls only if the person provided a number and permission, then saves the call receipt to the matching HubSpot record.

## How it works

1. **Receive the booking.** Subscribe a Cal.com webhook to booking-created, canceled and rescheduled events as needed. Send it to the worker's private trigger URL, set a signing secret and verify X-Cal-Signature-256 against the original body before using the event.
2. **Match the contact.** Look up the attendee by email in HubSpot. Agree on the fields to update and what to do if there is no match; do not create a duplicate contact by default.
3. **Follow up and record the result.** Check the supplied phone number and permission to call. Place the approved call, then attach its ID and observed outcome to the correct contact. Handle a cancellation or reschedule without starting another call accidentally.

## What you need

- Access to the relevant Cal.com event and webhook settings, including its signing secret.
- A HubSpot connection or scoped API credential with the contact access required by your workflow.
- An enabled Agent Worker, a funded wallet for calls, and a phone number plus permission for each call.

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 build a Cal.com to HubSpot workflow. Verify each booking webhook, match the attendee to a HubSpot contact, and call only with my approved phone and consent rules. Record the call ID and outcome. Show me the required permissions, costs and a safe test before activation.
```

## Provider documentation

- [Cal.com webhooks](https://site.cal.com/features/webhooks)
- [HubSpot contacts API](https://developers.hubspot.com/docs/api-reference/crm-contacts-v3/guide)

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