HubSpot logo
Google Sheets logo

Workflow template

Log new HubSpot contacts in Google Sheets

Log HubSpot contact creation events in Google Sheets. Append the contact ID, CRM link, event time in Unix milliseconds, event ID and portal ID as five RAW values.

How it works

From a HubSpot creation event to an audit-log row

1 Trigger · 1 Action
HubSpot1 · Trigger

Contact Creation

Receive contact.creation events after activation. The event supplies objectId, portalId, occurredAt and eventId, without the contact’s full name, email or other profile properties.

Google Sheets2 · Action

Log the new HubSpot contact

Append five values in A–E of your selected worksheet: contact ID, portal-specific record URL, event time in Unix milliseconds, event ID and portal ID. Use RAW and INSERT_ROWS after the existing table.

The result

A five-column contact-creation log

Choose an existing spreadsheet and worksheet. An empty worksheet works, or add the optional headers below yourself before activation.

Suggested A–E headers in mapping order; the append action does not create these labels.
Contact IDHubSpot record URLEvent time (Unix milliseconds)Event IDPortal ID
500001https://app.hubspot.com/contacts/123456/record/0-1/500001178957080000050001123456

Fictional creation event. The timestamp is kept as the original Unix-millisecond value, not converted to a formatted date. The CRM link still requires existing HubSpot access.

Before activation

Set up your workflow

  1. Connect the HubSpot creation source

    Select the HubSpot account and retain Contact Creation. This listens for contact.creation events received after activation; it does not backfill existing contacts.

  2. Prepare the five-column event log

    Connect Google Sheets and select the destination spreadsheet and worksheet. Reserve A–E in the displayed order. Headers are optional; add them yourself if wanted, and keep RAW and INSERT_ROWS enabled.

  3. Create one fictional contact

    Activate, create a fictional contact in HubSpot and inspect the appended row. Compare all four event values and the derived record URL. Use a worksheet whose readers may see CRM identifiers.

Details and limitations
  • This logs creation events, not contact profiles. Creation webhooks contain record IDs rather than names or email addresses. Only the contact ID, derived URL, timestamp, event ID and portal ID are mapped; there is no profile lookup.

  • Event time stays in Unix milliseconds. occurredAt is appended unchanged as RAW data. No date-formatting or timezone-conversion step is included. The action inserts rows after the existing table; it does not create the worksheet or its headers.

  • The log is append-only. Existing contacts, later property edits, merges and deletions are not synchronized. The workflow does not check for an existing event row, so a manual rerun can append the event again. A CRM link does not grant access.

Questions about this template

Do I need to create the five headers first?

No. An empty worksheet works. If you want headers, add Contact ID, HubSpot record URL, Event time (Unix milliseconds), Event ID and Portal ID in A–E yourself before activation.

Why is the event time a long number?

The action writes HubSpot’s occurredAt value directly in Unix milliseconds as RAW data. It does not format a date or convert a timezone.

Where are the contact’s name and email?

They are not supplied by this creation webhook or fetched by the workflow. This is an ID-based event log; open the record link with existing HubSpot access to review the profile.

Will rows be updated after a contact changes or is deleted?

No. Only contact.creation events received after activation append rows. Existing contacts, later edits, merges and deletions are not synchronized; manual reruns can append duplicates.