Actions134
- Account Actions
- Agent Actions
- Contact 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
- Custom Attribute Actions
- Inbox Actions
- Internal Chat Category Actions
- Internal Chat Channel Actions
- Internal Chat Member Actions
- Internal Chat Message Actions
- Kanban Board Actions
- Kanban Product Actions
- Kanban Step Actions
- Kanban Task Actions
- Kanban Task Product Actions
- Label Actions
- Profile Actions
- Scheduled Message Actions
- Team Actions
Contact → Set Custom Attribute
AI-generatedSummary
Set custom attribute on a contact
Inputs
- accountId (required) — Select the account to use.
- contactId (required) — Select the contact to use.
- specifyCustomAttributes — Choose how to provide custom attributes (definition, keypair, or JSON).
- customAttributesDefinition — Add custom attribute definitions (used when specifyCustomAttributes is set to definition).
- customAttributesParameters — Add custom attribute parameters (used when specifyCustomAttributes is set to keypair).
- customAttributesJson — Provide custom attributes as a JSON string (used when specifyCustomAttributes is set to json).
Output shape
a Contact object with the updated custom attributes
Returns the modified contact; errors are propagated as execution failures.
Examples
Example 1: Add a predefined attribute 'subscription_type' with value 'premium'
accountId (list), contactId (list), specifyCustomAttributes=definition, customAttributesDefinition[0].key=subscription_type, customAttributesDefinition[0].value=premium
Example 2: Set a custom attribute using a key/value pair
accountId (list), contactId (list), specifyCustomAttributes=keypair, customAttributesParameters[0].name=subscription_type, customAttributesParameters[0].value=premium
Example 3: Set multiple custom attributes via JSON
accountId (list), contactId (list), specifyCustomAttributes=json, customAttributesJson={"subscription_type":"premium","region":"EU"}