Create Account
freshworks_crm.create_account
ActionCRM & salesconnection required
Calls the Freshworks CRM API with the connection's credentials.
Create a sales account, the company record deals and contacts hang off.
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
13 fields, 1 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 |
|---|---|---|---|---|---|
name The account name; Freshworks requires it. | string | Yes | — | — | — |
website The account's website. | string | No | — | — | — |
phone The account's phone number. | string | No | — | — | — |
address The account's street address. | string | No | — | — | — |
city The city the account is in. | string | No | — | — | — |
state The state or region the account is in. | string | No | — | — | — |
zipcode The account's postal code. | string | No | — | — | — |
country The country the account is in. | string | No | — | — | — |
number_of_employees Headcount, as one of the bands Freshworks defines, such as '1-10' or '201-500'. | string | No | — | — | — |
annual_revenue The account's annual revenue. | number | No | — | ≥ 0 | — |
owner_id The Freshworks id of the user this account is assigned to. | string | No | — | — | — |
parent_sales_account_id The Freshworks id of this account's parent account, for a hierarchy. | string | No | — | — | — |
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 | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
sales_account The sales account record, inside the 'sales_account' envelope Freshworks returns it in. | object | — |
sales_account.id The Freshworks id of the sales account. | number | — |
{
"sales_account": {
"id": 0
}
}See Create Account 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.