Skip to content

Automatic Contact Save v1.1.0

Turn incoming webhook payloads into CRM contacts automatically. When a webhook is received, the addon can create a new contact — or update an existing one — using the data sent from your ecommerce platform.

Introduction

Every order webhook already carries customer details — name, phone, email, and address. Instead of re-entering that data, the addon maps those payload fields onto a CRM contact and saves it for you. Contacts are deduplicated by phone or email, and a failed save never blocks the WhatsApp notification.

What It Does

CapabilityDescription
Creates a contactBuilds a new contact from the webhook payload when none exists
Updates duplicatesMatches by phone number or email so the same customer is not duplicated
Maps any fieldUses merge-field syntax to map any payload value to a contact attribute
Never blocksIf contact creation fails, the WhatsApp message is still sent

Step 1: Enable Contact Save

  1. Open Webhooks and locate the webhook you want to configure
  2. Open its Contact Settings
  3. Toggle Enable Contact Creation to ON

Contact Settings toggle on a webhook

Step 2: Map the Contact Fields

Map each contact field to a value from your payload using the merge syntax @{merge.field} (for example @{data.customer.phone}).

Contact field mapping screen

Required Fields

FieldNotes
First NameCustomer first name
Last NameCustomer last name
PhoneUsed to match/dedupe contacts
StatusCRM contact status
SourceCRM lead/contact source

Optional Fields

FieldNotes
EmailAlso used for duplicate matching
CompanyCompany name
AddressStreet address
CityCity
DescriptionFree-text note
AssigneeStaff member the contact is assigned to
GroupsOne or more contact groups (multi-select)
Custom FieldsMap payload values to your custom fields

Merge Field Syntax

Use @{...} to pull a value from the payload. The path follows the JSON structure of the data your platform sends — for example @{billing.first_name} or @{data.customer.email}.

Step 3: Save

Click Save to apply the mapping. The next webhook that arrives on this endpoint will create or update a contact automatically.

How Duplicates Are Handled

ScenarioBehavior
No matching contactA new contact is created
Contact matched by phone/emailExisting contact is detected (no duplicate)
Phone value missing in payloadContact creation is skipped
Contact creation throws an errorLogged; the WhatsApp message still sends

Best Practices

  • Always map Phone to the most reliable field in your payload — it is the primary key for deduplication.
  • Use Custom Fields to capture ecommerce-specific data such as order ID or total.
  • Combine with Template & Media Mapping so the same payload powers both the notification and the contact record.

© 2024 - Corbital Technologies. All rights reserved.