Tool ID:
salesloft_account_upserts_createRun this action
Use the TypeScript SDK for one call. Usectx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'salesloft_account_upserts_create',
{
"upsert_key": "example",
"id": 123,
"name": "Example"
},
);
console.log(result.toolResponse.raw);
CLI
deepline run salesloft_account_upserts_create --input '{
"upsert_key": "example",
"id": 123,
"name": "Example"
}'
Example response
The SDK returns this shape atresult.toolResponse.raw. The example values illustrate the response.
{
"data": {
"upsert_type": "example",
"account": {
"id": 123,
"created_at": "2026-01-15T12:00:00Z",
"updated_at": "2026-01-15T12:00:00Z"
}
}
}
deepline describe salesloft_account_upserts_create --json for the latest machine-readable contract.
Input reference
Upserts an account record. The upsert_key dictates how the upsert will be performed. The create and update behavior is exactly the same as the individual create and update endpoints.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.upsert_key | string | No | — | Name of the parameter to upsert on. The field must be provided in the input parameters, or the request will fail. The request will also fail if there are multiple records matched by the upsert field. If upsert_key is not provided, this endpoint will not update an existing record. Valid options are: id, crm_id, domain. If crm_id is provided, then a valid crm_id_type must be provided, as documented for the account create and update endpoints. |
payload.id | integer | No | — | ID of the account to update. Used if the upsert_key=id. When id and another upsert_key are provided, the request will fail if the upsert record id and id parameter don’t match. |
payload.name | string | No | — | Account Full Name |
payload.domain | string | No | — | Website domain, not a fully qualified URI |
payload.conversational_name | string | No | — | Conversational name of the Account |
payload.description | string | No | — | Description |
payload.phone | string | No | — | Phone number without formatting |
payload.website | string | No | — | Website |
payload.linkedin_url | string | No | — | Full LinkedIn url |
payload.twitter_handle | string | No | — | Twitter handle, with @ |
payload.street | string | No | — | Street name and number |
payload.city | string | No | — | City |
payload.state | string | No | — | State |
payload.postal_code | string | No | — | Postal code |
payload.country | string | No | — | Country |
payload.locale | string | No | — | Time locale |
payload.industry | string | No | — | Industry |
payload.company_type | string | No | — | Type of the Account’s company |
payload.founded | string | No | — | Date or year of founding |
payload.revenue_range | string | No | — | Estimated revenue range |
payload.size | string | No | — | Estimated number of people in employment |
payload.do_not_contact | boolean | No | — | Whether this company can not be contacted. Values are either true or false. Setting this to true will remove all associated people from all active communications |
payload.custom_fields | array | No | — | Custom fields are defined by the user’s team. Only fields with values are presented in the API. |
payload.tags | array | No | — | All tags applied to this Account |
payload.owner_id | integer | No | — | ID of the User that owns this Account |
payload.company_stage_id | integer | No | — | ID of the CompanyStage assigned to this Account |
payload.account_tier_id | integer | No | — | ID of the Account Tier for this Account |
payload.crm_id_type | string | No | — | The CRM that the provided crm_id is for. Must be one of: salesforce |
payload.crm_id | string | No | — | Requires Salesforce. ID of the person in your external CRM. You must provide a crm_id_type if this is included. Validations will be applied to the crm_id depending on the crm_id_type. A “salesforce” ID must be exactly 18 characters. A “salesforce” ID must be either an Account (001) object. The type will be validated using the 18 character ID. This field can only be used if your application or API key has the “crm_id_account:write” scope (“account:set_crm_id” also works but is deprecated). |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | Provider response payload. |
result.data.upsert_type | string | No | — | The type of upsert. One of: create, update |
result.data.account | object | No | — | — |
result.data.account.id | integer | No | — | ID of Account |
result.data.account.created_at | string | No | — | Datetime of when the Account was created Format: date-time. |
result.data.account.updated_at | string | No | — | Datetime of when the Account was last updated Format: date-time. |
result.data.account.archived_at | string | No | — | Datetime of when the Account was archived, if archived Format: date-time. |
result.data.account.name | string | No | — | Account Full Name |
result.data.account.domain | string | No | — | Website domain, not a fully qualified URI |
result.data.account.conversational_name | string | No | — | Conversational name of the Account |
result.data.account.description | string | No | — | Description |
result.data.account.phone | string | No | — | Phone number without formatting |
result.data.account.website | string | No | — | Website |
result.data.account.linkedin_url | string | No | — | Full LinkedIn url |
result.data.account.twitter_handle | string | No | — | Twitter handle, with @ |
result.data.account.street | string | No | — | Street name and number |
result.data.account.city | string | No | — | City |
result.data.account.state | string | No | — | State |
result.data.account.postal_code | string | No | — | Postal code |
result.data.account.country | string | No | — | Country |
result.data.account.locale | string | No | — | Time locale |
result.data.account.industry | string | No | — | Industry |
result.data.account.company_type | string | No | — | Type of the Account’s company |
result.data.account.founded | string | No | — | Date or year of founding |
result.data.account.revenue_range | string | No | — | Estimated revenue range |
result.data.account.size | string | No | — | Estimated number of people in employment |
result.data.account.crm_id | string | No | — | CRM ID |
result.data.account.crm_url | string | No | — | CRM url |
result.data.account.crm_object_type | string | No | — | CRM object type |
result.data.account.owner_crm_id | string | No | — | Mapped owner field from the CRM |
result.data.account.prospector_engagement_score | string | No | — | Prospector engagement score for this account, normalized on a scale of 0.0 to 5.0. For the customers that do not opt-in to account engagement scoring, it will always be null |
result.data.account.prospector_engagement_level | string | No | — | Prospector engagement level for this account, derived from prospector_engagement_score. For the customers that do not opt-in to account engagement scoring, it will always be null |
result.data.account.last_contacted_at | string | No | — | Datetime this Account was last contacted Format: date-time. |
result.data.account.last_contacted_type | string | No | — | The type of the last touch to this Account. Can be call, email, other |
result.data.account.do_not_contact | boolean | No | — | Whether this company has opted out of communications. Do not contact someone at this company when this is set to true |
result.data.account.custom_fields | record | No | — | Custom fields are defined by the user’s team. Only fields with values are presented in the API. |
result.data.account.user_relationships | record | No | — | Filters by accounts matching all given user relationship fields, _is_null or _unmapped can be passed to filter accounts with null or unmapped user relationship values |
result.data.account.tags | array | No | — | All tags applied to this Account |
result.data.account.counts | object | No | — | — |
result.data.account.counts.people | integer | No | — | Number of people in SalesLoft associated with this Account |
result.data.account.owner | object | No | — | User that is marked as the owner of this Account |
result.data.account.owner.id | integer | No | — | — |
result.data.account.owner._href | string | No | — | — |
result.data.account.creator | object | No | — | User that created this Account |
result.data.account.creator.id | integer | No | — | — |
result.data.account.creator._href | string | No | — | — |
result.data.account.last_contacted_by | object | No | — | User that last contacted this Account |
result.data.account.last_contacted_by.id | integer | No | — | — |
result.data.account.last_contacted_by._href | string | No | — | — |
result.data.account.last_contacted_person | object | No | — | Person who was last contacted at this Account |
Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.