# Google Sheets + Cal.com

Log Cal.com bookings in Google Sheets and follow up by phone when the attendee has opted in.

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

## Example

A consultation booking arrives from Cal.com. Your worker adds the attendee and appointment time to a Google Sheet, then adds an approved call's receipt to the corresponding row.

## How it works

1. **Verify the Cal.com event.** Subscribe to booking-created, cancellation and reschedule events on the private worker URL. Set a Cal.com signing secret and check X-Cal-Signature-256 over the original body.
2. **Record the booking.** Append the selected attendee, meeting time and Cal.com booking UID to your sheet. Write external text as RAW and keep a durable processed-event record to avoid duplicate rows.
3. **Add the follow-up.** Call only when a valid number and permission are present. Save the call receipt against the booking UID; reconcile canceled or rescheduled bookings with the existing row.

## What you need

- A Cal.com webhook and signing secret for the chosen event.
- Google authorization to write to the selected spreadsheet, with credential refresh configured.
- An enabled Agent Worker, a funded wallet for calls, and the attendee's phone number and 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 connect Cal.com bookings to Google Sheets. Verify signed events, save each booking UID once, and update the right row after an approved call. Include a cancellation test, consent checks and the expected costs before activation.
```

## Provider documentation

- [Cal.com webhooks](https://site.cal.com/features/webhooks)
- [Google Sheets: append values](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/append)

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