Actions2
- Channel Actions
- Contact Actions
Contact → Create
AI-generatedSummary
Creates a contact in SurveySparrow by POSTing to /v3/contacts with an email and/or mobile number plus optional standard or custom contact fields.
Inputs
- email — Contact's email address. At least one of Email or Mobile must be provided, otherwise the node throws an error for that item.
- mobile — Mobile number with country code (e.g. +15551234567). At least one of Email or Mobile must be provided.
- additionalFields — Repeatable name/value pairs. The field name is chosen from a list loaded from the account: First Name, Full Name, Job Title, Language, Last Name, Phone, Reference ID, Unique ID, plus non-default custom contact properties. Dropdown properties list their allowed values in the description. Pairs with an empty name or empty value are skipped.
Output shape
One output item per input item, containing the JSON response from the SurveySparrow create-contact API call.
The operation runs once per input item. Each output item is paired to its input item. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow. Authentication uses SurveySparrow OAuth2 credentials.
Examples
Example 1: Add a newly registered user as a SurveySparrow contact from a webhook.
Email = {{$json.email}}; Additional Fields: First Name = {{$json.first_name}}, Last Name = {{$json.last_name}}.
Example 2: Create an SMS-only contact with a deduplication key.
Mobile = +15551234567; Additional Fields: Unique ID = customer-1042.