Actions253
- Platform: Account Actions
- Platform: Account User Actions
- Platform: Agent Bot Actions
- Platform: Banner Actions
- Platform: User Actions
- Account Actions
- Agent Actions
- Agent Bot (Account) Actions
- Automation Rule Actions
- Banner Message Actions
- Portal (Help Center) Actions
- Data Import Actions
- Dashboard App Actions
- CSAT Survey Response Actions
- Audit Log Actions
- Applied SLA Actions
- Reporting Event Actions
- Assignable Agents Actions
- Inbox Members Actions
- Search Actions
- Actions (contact/conversation) Actions
- Campaign Actions
- Call History Actions
- Canned Response Actions
- Chat Room Actions
- Contact Actions
- Contact Note Actions
- Conversation Actions
- Create
- Get
- List
- Send Message
- Send File
- Send with Template
- List Messages
- Delete Message
- List Attachments
- Download Attachment
- Assign Agent
- Assign Team
- Add Labels
- Remove Labels
- Update Labels
- List Labels
- Toggle Status
- Set Priority
- Add Custom Attributes
- Remove Custom Attributes
- Set Custom Attributes
- Update Last Seen
- Update Presence
- Mark Unread
- Update Attachment Metadata
- Mute
- Unmute
- Pin
- Unpin
- Send Transcript
- Filter
- Delete
- Custom Attribute Actions
- Custom Filter Actions
- Custom Resolution Reason Actions
- Custom Role Actions
- Custom Scheduled Message Type Actions
- Inbox Actions
- Integration Actions
- Label Actions
- Macro Actions
- Message Template Actions
- Notification Actions
- Profile Actions
- QuePasa Actions
- Report Actions
- Scheduled Message Actions
- SLA Policy Actions
- Team Actions
Contact → Find or Create
AI-generatedSummary
Create or update a Contact record based on provided criteria.
Inputs
- accountId (required) — Select the account to use.
- name — Name of the contact.
- phoneNumber — Phone number of the contact in E.164 format.
- email — Email of the contact.
- specifyCustomAttributesCreate — Method for providing custom attributes during creation.
- customAttributesDefinitionCreate — Custom attributes selected from predefined definitions.
- customAttributesParametersCreate — Key‑value pairs for custom attributes defined by field entries.
- customAttributesJsonCreate — JSON object containing custom attributes.
- additionalFields — Additional contact fields such as avatar, company, etc.
- identifier — External unique identifier for the contact.
- socialProfiles — Social media profiles to attach to the contact.
Output shape
a single Contact object
Returns the created or retrieved contact record, including its generated ID and all set fields; if multiple matches are found the first is returned.
Examples
Example 1: Create a new contact named John Doe with email and phone number in account 123.
accountId: 123; name: 'John Doe'; email: 'john@example.com'; phoneNumber: '+5511999999999'
Example 2: Find or create a contact with external identifier 'external-42' using key‑value custom attributes.
identifier: 'external-42'; specifyCustomAttributesCreate: 'keypair'; customAttributesParametersCreate: [{name:'key',value:'department'},{name:'value',value:'support'}]
Example 3: Search for a contact by email and, if not found, create it with a JSON-defined custom attribute.
email: 'existing@example.com'; specifyCustomAttributesCreate: 'json'; customAttributesJsonCreate: '{"department":"sales"}'