Zendesk Sell
App · 26 actions
Manage leads, contacts, deals, tasks and notes in Zendesk Sell.
Actions
| Action | What it does |
|---|---|
| Create contact | Create a person or a company. |
| Create deal | Create a deal with a person or company. |
| Create lead | Create a lead. |
| Create note | Add a note to a lead, contact or deal. |
| Create task | Create a task, on its own or about a lead, contact or deal. |
| Delete contact | Delete a person or company. |
| Delete deal | Delete a deal. |
| Delete lead | Delete a lead. |
| Delete note | Delete a note. |
| Delete task | Delete a task. |
| Get contact | Get one person or company by its ID. |
| Get current user | Get the Sell user the connection signs in as. |
| Get deal | Get one deal by its ID. |
| Get lead | Get one lead by its ID. |
| List contacts | List people and companies, filtered by name, email, owner or company. |
| List deals | List deals, filtered by stage, owner, contact or name. |
| List leads | List leads, filtered by owner, status, name or email. |
| List notes | List notes, filtered by the record they are on or by their text. |
| List pipelines | List the account's deal pipelines. |
| List stages | List the stages of the deal pipelines, in order. |
| List tasks | List tasks, filtered by owner, the record they are about, or whether they are done. |
| List users | List the users in the Sell account. |
| Update contact | Change a person or company. |
| Update deal | Change a deal, such as its stage or value. |
| Update lead | Change a lead. |
| Update task | Change a task, or mark it done. |
Create contact
Create a person or a company. A person needs a last name and a company needs a name.
Inputs
- Is a company
is_organizationtrue/false - Turn on for a company, off for a person. It can't be changed later.
- Company name
nametext - The company's name. Needed for a company.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name. Needed for a person.
- Company
contact_idnumber - The company this person works for.
- Owner
owner_idnumber - The Sell user who owns it.
- Customer status
customer_statustext - Whether they are a customer.One of:
none,current,past. - Prospect status
prospect_statustext - Whether they are a prospect.One of:
none,current,lost. - Job title
titletext - Job title.
- Description
descriptiontext - A description.
- Industry
industrytext - Industry.
- Website
websitetext - Website address.
- Email
emailtext - Email address.
- Phone
phonetext - Phone number.
- Mobile
mobiletext - Mobile phone number.
- Street
address_line1text - Street address.
- City
address_citytext - City.
- Postal code
address_postal_codetext - ZIP or postal code.
- State
address_statetext - State or region.
- Country
address_countrytext - Country.
- Tags
tagslist - Tags for the contact. On an update this replaces every tag the contact has.
- Custom fields
custom_fieldsobject - Custom field values for the contact, by the custom field's name, such as {"Known via": "Tom"}.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"customer_status": "example",
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"is_organization": true,
"last_name": "example",
"mobile": "example",
"name": "example",
"owner_id": 1,
"phone": "example",
"prospect_status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
}Create deal
Create a deal with a person or company. New deals start in the first stage of the default pipeline unless you pick a stage.
Inputs
- Name
nametextRequired - The deal's name.
- Contact
contact_idnumberRequired - The person or company the deal is with.
- Value
valuenumber - The deal's value, such as 2500 or 2500.75.At least 0.
- Currency
currencytext - Three-letter currency code, such as USD. Leave empty for the account's currency.
- Stage
stage_idnumber - The pipeline stage the deal is in.
- Owner
owner_idnumber - The Sell user who owns it.
- Hot
hottrue/false - Mark the deal as hot.
- Source ID
source_idnumber - The ID of the deal source.
- Expected close date
estimated_close_datedate - When the deal is expected to close.
- Win likelihood
customized_win_likelihoodnumber - How likely the deal is to be won, from 0 to 100 percent.From 0 to 100.
- Tags
tagslist - Tags for the deal. On an update this replaces every tag the deal has.
- Custom fields
custom_fieldsobject - Custom field values for the deal, by the custom field's name, such as {"Known via": "Tom"}.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"currency": "example",
"custom_fields": {},
"customized_win_likelihood": 1,
"estimated_close_date": "example",
"hot": true,
"id": 1,
"last_stage_change_at": "example",
"loss_reason_id": 1,
"name": "example",
"organization_id": 1,
"owner_id": 1,
"source_id": 1,
"stage_id": 1,
"tags": [
"example"
],
"updated_at": "example",
"value": "example"
}
}Create lead
Create a lead. Give a last name, an organization name, or both.
Inputs
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name. A lead needs a last name or an organization name.
- Organization name
organization_nametext - The organization's name. A lead needs a last name or an organization name.
- Status
statustext - The lead status, such as New, Working or Unqualified.
- Source ID
source_idnumber - The ID of the lead source.
- Owner
owner_idnumber - The Sell user who owns it.
- Job title
titletext - Job title.
- Description
descriptiontext - A description.
- Industry
industrytext - Industry.
- Website
websitetext - Website address.
- Email
emailtext - Email address.
- Phone
phonetext - Phone number.
- Mobile
mobiletext - Mobile phone number.
- Street
address_line1text - Street address.
- City
address_citytext - City.
- Postal code
address_postal_codetext - ZIP or postal code.
- State
address_statetext - State or region.
- Country
address_countrytext - Country.
- Tags
tagslist - Tags for the lead. On an update this replaces every tag the lead has.
- Custom fields
custom_fieldsobject - Custom field values for the lead, by the custom field's name, such as {"Known via": "Tom"}.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"last_name": "example",
"mobile": "example",
"organization_name": "example",
"owner_id": 1,
"phone": "example",
"source_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
}Create note
Add a note to a lead, contact or deal.
Inputs
- Record type
resource_typetextRequired - What kind of record the note is on.One of:
lead,contact,deal. - Record ID
resource_idnumberRequired - The ID of the lead, contact or deal.
- Note
contenttextRequired - The note's text.
- Important
is_importanttrue/false - Mark the note as important.
- Visibility
typetext - Who can see the note: everyone who can see the record (regular), or only you and admins (restricted).One of:
regular,restricted. - Tags
tagslist - Tags for the note.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"content": "example",
"created_at": "example",
"creator_id": 1,
"id": 1,
"is_important": true,
"resource_id": 1,
"resource_type": "example",
"tags": [
"example"
],
"type": "example",
"updated_at": "example"
}
}Create task
Create a task, on its own or about a lead, contact or deal.
Inputs
- Task
contenttextRequired - What the task is.
- Due
due_datedate and time - When the task is due.
- Remind at
remind_atdate and time - When to send a reminder. It must be before the due time.
- Owner
owner_idnumber - The Sell user the task is assigned to.
- Linked record type
resource_typetext - What kind of record the task is about. Leave empty for a task on its own.One of:
lead,contact,deal. - Linked record ID
resource_idnumber - The ID of the lead, contact or deal the task is about.
- Completed
completedtrue/false - Whether the task is done.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"completed": true,
"completed_at": "example",
"content": "example",
"created_at": "example",
"creator_id": 1,
"due_date": "example",
"id": 1,
"overdue": true,
"owner_id": 1,
"remind_at": "example",
"resource_id": 1,
"resource_type": "example",
"updated_at": "example"
}
}Delete contact
Delete a person or company. This can't be undone.
Inputs
- Contact
contact_idnumberRequired - The contact's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {}
}Delete deal
Delete a deal. This can't be undone.
Inputs
- Deal
deal_idnumberRequired - The deal's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {}
}Delete lead
Delete a lead. This can't be undone.
Inputs
- Lead
lead_idnumberRequired - The lead's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {}
}Delete note
Delete a note. This can't be undone.
Inputs
- Note
note_idnumberRequired - The note's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {}
}Delete task
Delete a task. This can't be undone.
Inputs
- Task
task_idnumberRequired - The task's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {}
}Get contact
Get one person or company by its ID.
Inputs
- Contact
contact_idnumberRequired - The contact's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"customer_status": "example",
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"is_organization": true,
"last_name": "example",
"mobile": "example",
"name": "example",
"owner_id": 1,
"phone": "example",
"prospect_status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
}Get current user
Get the Sell user the connection signs in as.
Inputs
None.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"created_at": "example",
"email": "example",
"id": 1,
"name": "example",
"phone_number": "example",
"role": "example",
"status": "example",
"team_name": "example",
"timezone": "example",
"updated_at": "example"
}
}Get deal
Get one deal by its ID.
Inputs
- Deal
deal_idnumberRequired - The deal's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"currency": "example",
"custom_fields": {},
"customized_win_likelihood": 1,
"estimated_close_date": "example",
"hot": true,
"id": 1,
"last_stage_change_at": "example",
"loss_reason_id": 1,
"name": "example",
"organization_id": 1,
"owner_id": 1,
"source_id": 1,
"stage_id": 1,
"tags": [
"example"
],
"updated_at": "example",
"value": "example"
}
}Get lead
Get one lead by its ID.
Inputs
- Lead
lead_idnumberRequired - The lead's ID.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"last_name": "example",
"mobile": "example",
"organization_name": "example",
"owner_id": 1,
"phone": "example",
"source_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
}List contacts
List people and companies, filtered by name, email, owner or company.
Inputs
- Companies only
is_organizationtrue/false - On for companies only, off for people only. Leave empty for both.
- Company name
nametext - Only the company with this name.
- First name
first_nametext - Only people with this first name.
- Last name
last_nametext - Only people with this last name.
- Email
emailtext - Only contacts with this email address.
- Company
contact_idnumber - Only people who work for this company.
- Owner
owner_idnumber - Only contacts this user owns.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
- Sort by
sort_bytext - How to order the results. Columns ending in :desc are newest or largest first.One of:
id,id:desc,name,name:desc,first_name(First name),first_name:desc(First name:desc),last_name(Last name),last_name:desc(Last name:desc),email,email:desc, and 4 more.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"customer_status": "example",
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"is_organization": true,
"last_name": "example",
"mobile": "example",
"name": "example",
"owner_id": 1,
"phone": "example",
"prospect_status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List deals
List deals, filtered by stage, owner, contact or name.
Inputs
- Stage
stage_idnumber - Only deals in this stage.
- Owner
owner_idnumber - Only deals this user owns.
- Contact
contact_idnumber - Only deals with this person or company.
- Name
nametext - Only deals with this name.
- Hot only
hottrue/false - On for hot deals only.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
- Sort by
sort_bytext - How to order the results. Columns ending in :desc are newest or largest first.One of:
id,id:desc,value,value:desc,name,name:desc,estimated_close_date(Estimated close date),estimated_close_date:desc(Estimated close date:desc),created_at(Created at),created_at:desc(Created at:desc),updated_at(Updated at),updated_at:desc(Updated at:desc).
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"currency": "example",
"custom_fields": {},
"customized_win_likelihood": 1,
"estimated_close_date": "example",
"hot": true,
"id": 1,
"last_stage_change_at": "example",
"loss_reason_id": 1,
"name": "example",
"organization_id": 1,
"owner_id": 1,
"source_id": 1,
"stage_id": 1,
"tags": [
"example"
],
"updated_at": "example",
"value": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List leads
List leads, filtered by owner, status, name or email.
Inputs
- Owner
owner_idnumber - Only leads this user owns.
- Status
statustext - Only leads with this status, such as New.
- Email
emailtext - Only leads with this email address.
- First name
first_nametext - Only leads with this first name.
- Last name
last_nametext - Only leads with this last name.
- Organization name
organization_nametext - Only leads from this organization.
- Source ID
source_idnumber - Only leads from this source.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
- Sort by
sort_bytext - How to order the results. Columns ending in :desc are newest or largest first.One of:
id,id:desc,first_name(First name),first_name:desc(First name:desc),last_name(Last name),last_name:desc(Last name:desc),organization_name(Organization name),organization_name:desc(Organization name:desc),email,email:desc, and 4 more.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"last_name": "example",
"mobile": "example",
"organization_name": "example",
"owner_id": 1,
"phone": "example",
"source_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List notes
List notes, filtered by the record they are on or by their text.
Inputs
- Record type
resource_typetext - Only notes on this kind of record.One of:
lead,contact,deal. - Record ID
resource_idnumber - Only notes on the record with this ID.
- Search
qtext - Only notes whose text contains these words.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
- Sort by
sort_bytext - How to order the results. Columns ending in :desc are newest or largest first.One of:
created_at(Created at),created_at:desc(Created at:desc),updated_at(Updated at),updated_at:desc(Updated at:desc).
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"content": "example",
"created_at": "example",
"creator_id": 1,
"id": 1,
"is_important": true,
"resource_id": 1,
"resource_type": "example",
"tags": [
"example"
],
"type": "example",
"updated_at": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List pipelines
List the account's deal pipelines.
Inputs
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"created_at": "example",
"disabled": true,
"id": 1,
"name": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List stages
List the stages of the deal pipelines, in order.
Inputs
- Pipeline
pipeline_idnumber - Only the stages of this pipeline.
- Active only
activetrue/false - On for active stages only, off for won, lost and unqualified.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"active": true,
"category": "example",
"created_at": "example",
"id": 1,
"likelihood": 1,
"name": "example",
"pipeline_id": 1,
"position": 1,
"updated_at": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List tasks
List tasks, filtered by owner, the record they are about, or whether they are done.
Inputs
- Completed
completedtrue/false - On for done tasks only, off for open tasks only.
- Overdue only
overduetrue/false - On for overdue tasks only.
- Owner
owner_idnumber - Only tasks assigned to this user.
- Linked record type
resource_typetext - Only tasks about this kind of record.One of:
lead,contact,deal. - Linked record ID
resource_idnumber - Only tasks about the record with this ID.
- Search
qtext - Only tasks whose text contains these words.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
- Sort by
sort_bytext - How to order the results. Columns ending in :desc are newest or largest first.One of:
due_date(Due date),due_date:desc(Due date:desc),completed_at(Completed at),completed_at:desc(Completed at:desc),created_at(Created at),created_at:desc(Created at:desc),updated_at(Updated at),updated_at:desc(Updated at:desc).
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"completed": true,
"completed_at": "example",
"content": "example",
"created_at": "example",
"creator_id": 1,
"due_date": "example",
"id": 1,
"overdue": true,
"owner_id": 1,
"remind_at": "example",
"resource_id": 1,
"resource_type": "example",
"updated_at": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}List users
List the users in the Sell account.
Inputs
- Status
statustext - Only active or only inactive users.One of:
active,inactive. - Role
roletext - Only admins or only regular users.One of:
user,admin. - Email
emailtext - Only the user with this email address.
- Page
pagenumber - Which page of results to read, starting at 1.At least 1.
- Results per page
per_pagenumber - How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
- Sort by
sort_bytext - How to order the results. Columns ending in :desc are newest or largest first.One of:
id,id:desc,name,name:desc,created_at(Created at),created_at:desc(Created at:desc),updated_at(Updated at),updated_at:desc(Updated at:desc).
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"items": [
{
"created_at": "example",
"email": "example",
"id": 1,
"name": "example",
"phone_number": "example",
"role": "example",
"status": "example",
"team_name": "example",
"timezone": "example",
"updated_at": "example"
}
],
"meta": {
"count": 1,
"links": {},
"type": "example"
}
}
}Update contact
Change a person or company. Only the fields you fill in are changed.
Inputs
- Contact
contact_record_idnumberRequired - The contact's ID.
- Company name
nametext - The company's name. Needed for a company.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name. Needed for a person.
- Company
contact_idnumber - The company this person works for.
- Owner
owner_idnumber - The Sell user who owns it.
- Customer status
customer_statustext - Whether they are a customer.One of:
none,current,past. - Prospect status
prospect_statustext - Whether they are a prospect.One of:
none,current,lost. - Job title
titletext - Job title.
- Description
descriptiontext - A description.
- Industry
industrytext - Industry.
- Website
websitetext - Website address.
- Email
emailtext - Email address.
- Phone
phonetext - Phone number.
- Mobile
mobiletext - Mobile phone number.
- Street
address_line1text - Street address.
- City
address_citytext - City.
- Postal code
address_postal_codetext - ZIP or postal code.
- State
address_statetext - State or region.
- Country
address_countrytext - Country.
- Tags
tagslist - Tags for the contact. On an update this replaces every tag the contact has.
- Custom fields
custom_fieldsobject - Custom field values for the contact, by the custom field's name, such as {"Known via": "Tom"}.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"customer_status": "example",
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"is_organization": true,
"last_name": "example",
"mobile": "example",
"name": "example",
"owner_id": 1,
"phone": "example",
"prospect_status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
}Update deal
Change a deal, such as its stage or value. Only the fields you fill in are changed.
Inputs
- Deal
deal_idnumberRequired - The deal's ID.
- Name
nametext - The deal's name.
- Contact
contact_idnumber - The person or company the deal is with.
- Value
valuenumber - The deal's value, such as 2500 or 2500.75.At least 0.
- Currency
currencytext - Three-letter currency code, such as USD. Leave empty for the account's currency.
- Stage
stage_idnumber - The pipeline stage the deal is in.
- Owner
owner_idnumber - The Sell user who owns it.
- Hot
hottrue/false - Mark the deal as hot.
- Source ID
source_idnumber - The ID of the deal source.
- Expected close date
estimated_close_datedate - When the deal is expected to close.
- Win likelihood
customized_win_likelihoodnumber - How likely the deal is to be won, from 0 to 100 percent.From 0 to 100.
- Tags
tagslist - Tags for the deal. On an update this replaces every tag the deal has.
- Custom fields
custom_fieldsobject - Custom field values for the deal, by the custom field's name, such as {"Known via": "Tom"}.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"contact_id": 1,
"created_at": "example",
"creator_id": 1,
"currency": "example",
"custom_fields": {},
"customized_win_likelihood": 1,
"estimated_close_date": "example",
"hot": true,
"id": 1,
"last_stage_change_at": "example",
"loss_reason_id": 1,
"name": "example",
"organization_id": 1,
"owner_id": 1,
"source_id": 1,
"stage_id": 1,
"tags": [
"example"
],
"updated_at": "example",
"value": "example"
}
}Update lead
Change a lead. Only the fields you fill in are changed.
Inputs
- Lead
lead_idnumberRequired - The lead's ID.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name. A lead needs a last name or an organization name.
- Organization name
organization_nametext - The organization's name. A lead needs a last name or an organization name.
- Status
statustext - The lead status, such as New, Working or Unqualified.
- Source ID
source_idnumber - The ID of the lead source.
- Owner
owner_idnumber - The Sell user who owns it.
- Job title
titletext - Job title.
- Description
descriptiontext - A description.
- Industry
industrytext - Industry.
- Website
websitetext - Website address.
- Email
emailtext - Email address.
- Phone
phonetext - Phone number.
- Mobile
mobiletext - Mobile phone number.
- Street
address_line1text - Street address.
- City
address_citytext - City.
- Postal code
address_postal_codetext - ZIP or postal code.
- State
address_statetext - State or region.
- Country
address_countrytext - Country.
- Tags
tagslist - Tags for the lead. On an update this replaces every tag the lead has.
- Custom fields
custom_fieldsobject - Custom field values for the lead, by the custom field's name, such as {"Known via": "Tom"}.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"address": {
"city": "example",
"country": "example",
"line1": "example",
"postal_code": "example",
"state": "example"
},
"created_at": "example",
"creator_id": 1,
"custom_fields": {},
"description": "example",
"email": "example",
"first_name": "example",
"id": 1,
"industry": "example",
"last_name": "example",
"mobile": "example",
"organization_name": "example",
"owner_id": 1,
"phone": "example",
"source_id": 1,
"status": "example",
"tags": [
"example"
],
"title": "example",
"updated_at": "example",
"website": "example"
}
}Update task
Change a task, or mark it done. Only the fields you fill in are changed.
Inputs
- Task
task_idnumberRequired - The task's ID.
- Task
contenttext - What the task is.
- Due
due_datedate and time - When the task is due.
- Remind at
remind_atdate and time - When to send a reminder. It must be before the due time.
- Owner
owner_idnumber - The Sell user the task is assigned to.
- Linked record type
resource_typetext - What kind of record the task is about. Leave empty for a task on its own.One of:
lead,contact,deal. - Linked record ID
resource_idnumber - The ID of the lead, contact or deal the task is about.
- Completed
completedtrue/false - Whether the task is done.
Outputs
dataobject- The response from Zendesk Sell.
Example output
{
"data": {
"completed": true,
"completed_at": "example",
"content": "example",
"created_at": "example",
"creator_id": 1,
"due_date": "example",
"id": 1,
"overdue": true,
"owner_id": 1,
"remind_at": "example",
"resource_id": 1,
"resource_type": "example",
"updated_at": "example"
}
}