Zendesk Sell

App · 26 actions

Manage leads, contacts, deals, tasks and notes in Zendesk Sell.

Actions

ActionWhat it does
Create contactCreate a person or a company.
Create dealCreate a deal with a person or company.
Create leadCreate a lead.
Create noteAdd a note to a lead, contact or deal.
Create taskCreate a task, on its own or about a lead, contact or deal.
Delete contactDelete a person or company.
Delete dealDelete a deal.
Delete leadDelete a lead.
Delete noteDelete a note.
Delete taskDelete a task.
Get contactGet one person or company by its ID.
Get current userGet the Sell user the connection signs in as.
Get dealGet one deal by its ID.
Get leadGet one lead by its ID.
List contactsList people and companies, filtered by name, email, owner or company.
List dealsList deals, filtered by stage, owner, contact or name.
List leadsList leads, filtered by owner, status, name or email.
List notesList notes, filtered by the record they are on or by their text.
List pipelinesList the account's deal pipelines.
List stagesList the stages of the deal pipelines, in order.
List tasksList tasks, filtered by owner, the record they are about, or whether they are done.
List usersList the users in the Sell account.
Update contactChange a person or company.
Update dealChange a deal, such as its stage or value.
Update leadChange a lead.
Update taskChange 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 companyis_organizationtrue/false
Turn on for a company, off for a person. It can't be changed later.
Company namenametext
The company's name. Needed for a company.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name. Needed for a person.
Companycontact_idnumber
The company this person works for.
Ownerowner_idnumber
The Sell user who owns it.
Customer statuscustomer_statustext
Whether they are a customer.One of: none, current, past.
Prospect statusprospect_statustext
Whether they are a prospect.One of: none, current, lost.
Job titletitletext
Job title.
Descriptiondescriptiontext
A description.
Industryindustrytext
Industry.
Websitewebsitetext
Website address.
Emailemailtext
Email address.
Phonephonetext
Phone number.
Mobilemobiletext
Mobile phone number.
Streetaddress_line1text
Street address.
Cityaddress_citytext
City.
Postal codeaddress_postal_codetext
ZIP or postal code.
Stateaddress_statetext
State or region.
Countryaddress_countrytext
Country.
Tagstagslist
Tags for the contact. On an update this replaces every tag the contact has.
Custom fieldscustom_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

NamenametextRequired
The deal's name.
Contactcontact_idnumberRequired
The person or company the deal is with.
Valuevaluenumber
The deal's value, such as 2500 or 2500.75.At least 0.
Currencycurrencytext
Three-letter currency code, such as USD. Leave empty for the account's currency.
Stagestage_idnumber
The pipeline stage the deal is in.
Ownerowner_idnumber
The Sell user who owns it.
Hothottrue/false
Mark the deal as hot.
Source IDsource_idnumber
The ID of the deal source.
Expected close dateestimated_close_datedate
When the deal is expected to close.
Win likelihoodcustomized_win_likelihoodnumber
How likely the deal is to be won, from 0 to 100 percent.From 0 to 100.
Tagstagslist
Tags for the deal. On an update this replaces every tag the deal has.
Custom fieldscustom_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 namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name. A lead needs a last name or an organization name.
Organization nameorganization_nametext
The organization's name. A lead needs a last name or an organization name.
Statusstatustext
The lead status, such as New, Working or Unqualified.
Source IDsource_idnumber
The ID of the lead source.
Ownerowner_idnumber
The Sell user who owns it.
Job titletitletext
Job title.
Descriptiondescriptiontext
A description.
Industryindustrytext
Industry.
Websitewebsitetext
Website address.
Emailemailtext
Email address.
Phonephonetext
Phone number.
Mobilemobiletext
Mobile phone number.
Streetaddress_line1text
Street address.
Cityaddress_citytext
City.
Postal codeaddress_postal_codetext
ZIP or postal code.
Stateaddress_statetext
State or region.
Countryaddress_countrytext
Country.
Tagstagslist
Tags for the lead. On an update this replaces every tag the lead has.
Custom fieldscustom_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 typeresource_typetextRequired
What kind of record the note is on.One of: lead, contact, deal.
Record IDresource_idnumberRequired
The ID of the lead, contact or deal.
NotecontenttextRequired
The note's text.
Importantis_importanttrue/false
Mark the note as important.
Visibilitytypetext
Who can see the note: everyone who can see the record (regular), or only you and admins (restricted).One of: regular, restricted.
Tagstagslist
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

TaskcontenttextRequired
What the task is.
Duedue_datedate and time
When the task is due.
Remind atremind_atdate and time
When to send a reminder. It must be before the due time.
Ownerowner_idnumber
The Sell user the task is assigned to.
Linked record typeresource_typetext
What kind of record the task is about. Leave empty for a task on its own.One of: lead, contact, deal.
Linked record IDresource_idnumber
The ID of the lead, contact or deal the task is about.
Completedcompletedtrue/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

Contactcontact_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

Dealdeal_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

Leadlead_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

Notenote_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

Tasktask_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

Contactcontact_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

Dealdeal_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

Leadlead_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 onlyis_organizationtrue/false
On for companies only, off for people only. Leave empty for both.
Company namenametext
Only the company with this name.
First namefirst_nametext
Only people with this first name.
Last namelast_nametext
Only people with this last name.
Emailemailtext
Only contacts with this email address.
Companycontact_idnumber
Only people who work for this company.
Ownerowner_idnumber
Only contacts this user owns.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_pagenumber
How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Sort bysort_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

Stagestage_idnumber
Only deals in this stage.
Ownerowner_idnumber
Only deals this user owns.
Contactcontact_idnumber
Only deals with this person or company.
Namenametext
Only deals with this name.
Hot onlyhottrue/false
On for hot deals only.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_pagenumber
How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Sort bysort_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

Ownerowner_idnumber
Only leads this user owns.
Statusstatustext
Only leads with this status, such as New.
Emailemailtext
Only leads with this email address.
First namefirst_nametext
Only leads with this first name.
Last namelast_nametext
Only leads with this last name.
Organization nameorganization_nametext
Only leads from this organization.
Source IDsource_idnumber
Only leads from this source.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_pagenumber
How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Sort bysort_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 typeresource_typetext
Only notes on this kind of record.One of: lead, contact, deal.
Record IDresource_idnumber
Only notes on the record with this ID.
Searchqtext
Only notes whose text contains these words.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_pagenumber
How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Sort bysort_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

Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_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

Pipelinepipeline_idnumber
Only the stages of this pipeline.
Active onlyactivetrue/false
On for active stages only, off for won, lost and unqualified.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_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

Completedcompletedtrue/false
On for done tasks only, off for open tasks only.
Overdue onlyoverduetrue/false
On for overdue tasks only.
Ownerowner_idnumber
Only tasks assigned to this user.
Linked record typeresource_typetext
Only tasks about this kind of record.One of: lead, contact, deal.
Linked record IDresource_idnumber
Only tasks about the record with this ID.
Searchqtext
Only tasks whose text contains these words.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_pagenumber
How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Sort bysort_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

Statusstatustext
Only active or only inactive users.One of: active, inactive.
Roleroletext
Only admins or only regular users.One of: user, admin.
Emailemailtext
Only the user with this email address.
Pagepagenumber
Which page of results to read, starting at 1.At least 1.
Results per pageper_pagenumber
How many results to read per page, up to 100. Leave empty for 25.From 1 to 100.
Sort bysort_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

Contactcontact_record_idnumberRequired
The contact's ID.
Company namenametext
The company's name. Needed for a company.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name. Needed for a person.
Companycontact_idnumber
The company this person works for.
Ownerowner_idnumber
The Sell user who owns it.
Customer statuscustomer_statustext
Whether they are a customer.One of: none, current, past.
Prospect statusprospect_statustext
Whether they are a prospect.One of: none, current, lost.
Job titletitletext
Job title.
Descriptiondescriptiontext
A description.
Industryindustrytext
Industry.
Websitewebsitetext
Website address.
Emailemailtext
Email address.
Phonephonetext
Phone number.
Mobilemobiletext
Mobile phone number.
Streetaddress_line1text
Street address.
Cityaddress_citytext
City.
Postal codeaddress_postal_codetext
ZIP or postal code.
Stateaddress_statetext
State or region.
Countryaddress_countrytext
Country.
Tagstagslist
Tags for the contact. On an update this replaces every tag the contact has.
Custom fieldscustom_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

Dealdeal_idnumberRequired
The deal's ID.
Namenametext
The deal's name.
Contactcontact_idnumber
The person or company the deal is with.
Valuevaluenumber
The deal's value, such as 2500 or 2500.75.At least 0.
Currencycurrencytext
Three-letter currency code, such as USD. Leave empty for the account's currency.
Stagestage_idnumber
The pipeline stage the deal is in.
Ownerowner_idnumber
The Sell user who owns it.
Hothottrue/false
Mark the deal as hot.
Source IDsource_idnumber
The ID of the deal source.
Expected close dateestimated_close_datedate
When the deal is expected to close.
Win likelihoodcustomized_win_likelihoodnumber
How likely the deal is to be won, from 0 to 100 percent.From 0 to 100.
Tagstagslist
Tags for the deal. On an update this replaces every tag the deal has.
Custom fieldscustom_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

Leadlead_idnumberRequired
The lead's ID.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name. A lead needs a last name or an organization name.
Organization nameorganization_nametext
The organization's name. A lead needs a last name or an organization name.
Statusstatustext
The lead status, such as New, Working or Unqualified.
Source IDsource_idnumber
The ID of the lead source.
Ownerowner_idnumber
The Sell user who owns it.
Job titletitletext
Job title.
Descriptiondescriptiontext
A description.
Industryindustrytext
Industry.
Websitewebsitetext
Website address.
Emailemailtext
Email address.
Phonephonetext
Phone number.
Mobilemobiletext
Mobile phone number.
Streetaddress_line1text
Street address.
Cityaddress_citytext
City.
Postal codeaddress_postal_codetext
ZIP or postal code.
Stateaddress_statetext
State or region.
Countryaddress_countrytext
Country.
Tagstagslist
Tags for the lead. On an update this replaces every tag the lead has.
Custom fieldscustom_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

Tasktask_idnumberRequired
The task's ID.
Taskcontenttext
What the task is.
Duedue_datedate and time
When the task is due.
Remind atremind_atdate and time
When to send a reminder. It must be before the due time.
Ownerowner_idnumber
The Sell user the task is assigned to.
Linked record typeresource_typetext
What kind of record the task is about. Leave empty for a task on its own.One of: lead, contact, deal.
Linked record IDresource_idnumber
The ID of the lead, contact or deal the task is about.
Completedcompletedtrue/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"
  }
}

On this page