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.

FieldTypeRequiredDefaultConstraintsExample
first_name
The contact's first name.
stringNo———
last_name
The contact's last name.
stringNo———
email
The contact's primary email address.
stringNo—email format—
mobile_number
The contact's mobile number.
stringNo———
work_number
The contact's work number.
stringNo———
twitter
The contact's Twitter username.
stringNo———
job_title
The contact's designation at the account they belong to.
stringNo———
address
The contact's street address.
stringNo———
city
The city the contact is in.
stringNo———
state
The state or region the contact is in.
stringNo———
zipcode
The contact's postal code.
stringNo———
country
The country the contact is in.
stringNo———
time_zone
The time zone the contact is in, as Freshworks names it.
stringNo———
owner_id
The Freshworks id of the user this contact is assigned to.
stringNo———
sales_accounts
Accounts to associate, each {"id": …, "is_primary": true|false}. Exactly one must be primary, and Freshworks allows at most ten per contact.
arrayNo—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.
objectNo———
  • At least one of email, mobile_number, twitter must be set.

Output

One shape.

result

FieldTypeExample
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.