Create Contact
freshworks_crm.create_contact
ActionCRM & salesconnection required
Calls the Freshworks CRM API with the connection's credentials.
Create a contact. Freshworks requires at least one of an email address, a mobile number or a Twitter handle to identify the person.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Freshworks CRM
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- bundle_alias, domain, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
16 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
first_name The contact's first name. | string | No | — | — | — |
last_name The contact's last name. | string | No | — | — | — |
email The contact's primary email address. | string | No | — | email format | — |
mobile_number The contact's mobile number. | string | No | — | — | — |
work_number The contact's work number. | string | No | — | — | — |
twitter The contact's Twitter username. | string | No | — | — | — |
job_title The contact's designation at the account they belong to. | string | No | — | — | — |
address The contact's street address. | string | No | — | — | — |
city The city the contact is in. | string | No | — | — | — |
state The state or region the contact is in. | string | No | — | — | — |
zipcode The contact's postal code. | string | No | — | — | — |
country The country the contact is in. | string | No | — | — | — |
time_zone The time zone the contact is in, as Freshworks names it. | string | No | — | — | — |
owner_id The Freshworks id of the user this contact is assigned to. | string | No | — | — | — |
sales_accounts Accounts to associate, each {"id": …, "is_primary": true|false}. Exactly one must be primary, and Freshworks allows at most ten per contact. | array | No | — | array of object | — |
fields Any other Freshworks field names and values to send, merged over the fields named above. Use it for custom fields (the 'custom_field' object) and for anything this node does not name. | object | No | — | — | — |
- At least one of email, mobile_number, twitter must be set.
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
contact The contact record, inside the 'contact' envelope Freshworks returns it in. | object | — |
contact.id The Freshworks id of the contact. | number | — |
{
"contact": {
"id": 0
}
}See Create Contact run in a workflow.
In a technical demo we add the Freshworks CRM connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.