ByteChef LogoByteChef

Nutshell

Nutshell CRM is a user-friendly customer relationship management software designed to help small businesses manage sales, track leads, and streamline communication.

Categories: CRM

Type: nutshell/v1


Connections

Version: 1

Basic Auth

Properties

NameLabelTypeDescriptionRequired
usernameEmailSTRINGtrue
passwordAPI KeySTRINGtrue

Connection Setup

Create API Key

  1. Navigate to Nutshell dashboard.
  2. Click on Settings.
  3. Click on Connections.
  4. Click on Add API key….
  5. Enter name and choose API + user Impersonation.
  6. Click on New API key.
  7. Click on new API key.
  8. Here you can copy your API Key.
  9. Click on Save API key.
  10. Done 🚀.

Actions

Create Contact

Name: createContact

Creates a new contact, also known as a person, in Nutshell.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGFull name of the contact.true
descriptionDescriptionSTRINGDescription of the contact, which appears under their name.false
emailEmailSTRINGPrimary email address of the contact.false
phonePhoneSTRINGPrimary phone number of the contact.false

Example JSON Structure

{
  "label" : "Create Contact",
  "name" : "createContact",
  "parameters" : {
    "name" : "",
    "description" : "",
    "email" : "",
    "phone" : ""
  },
  "type" : "nutshell/v1/createContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
linksOBJECT
Properties {}
contactsARRAY
Items [{STRING(id), STRING(name), STRING(description), [{BOOLEAN(isPrimary), STRING(name), STRING(value)}](emails), [{BOOLEAN(isPrimary), STRING(name), {STRING(countryCode), STRING(number), STRING(extension), STRING(numberFormatted), STRING(E164), STRING(countryCodeAndNumber)}(value)}](phones)}]

Output Example

{
  "links" : { },
  "contacts" : [ {
    "id" : "",
    "name" : "",
    "description" : "",
    "emails" : [ {
      "isPrimary" : false,
      "name" : "",
      "value" : ""
    } ],
    "phones" : [ {
      "isPrimary" : false,
      "name" : "",
      "value" : {
        "countryCode" : "",
        "number" : "",
        "extension" : "",
        "numberFormatted" : "",
        "E164" : "",
        "countryCodeAndNumber" : ""
      }
    } ]
  } ]
}

Create Company

Name: createCompany

Creates a new account. Accounts are companies or organizations that you do business with, and are referred to as 'Companies' in the Nutshell UI.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGFull name of the company.true
descriptionDescriptionSTRINGDetailed Description of the company.false
emailEmailSTRINGPrimary email address of the company.false
phonePhoneSTRINGPrimary phone number of the company.false

Example JSON Structure

{
  "label" : "Create Company",
  "name" : "createCompany",
  "parameters" : {
    "name" : "",
    "description" : "",
    "email" : "",
    "phone" : ""
  },
  "type" : "nutshell/v1/createCompany"
}

Output

Type: OBJECT

Properties

NameTypeDescription
accountsARRAY
Items [{STRING(id), STRING(type), STRING(name), STRING(description), [{BOOLEAN(isPrimary), STRING(name), STRING(value)}](emails), [{BOOLEAN(isPrimary), STRING(name), {STRING(countryCode), STRING(number), STRING(extension), STRING(numberFormatted), STRING(E164), STRING(countryCodeAndNumber)}(value)}](phones)}]

Output Example

{
  "accounts" : [ {
    "id" : "",
    "type" : "",
    "name" : "",
    "description" : "",
    "emails" : [ {
      "isPrimary" : false,
      "name" : "",
      "value" : ""
    } ],
    "phones" : [ {
      "isPrimary" : false,
      "name" : "",
      "value" : {
        "countryCode" : "",
        "number" : "",
        "extension" : "",
        "numberFormatted" : "",
        "E164" : "",
        "countryCodeAndNumber" : ""
      }
    } ]
  } ]
}

Create Lead

Name: createLead

Creates a new lead.

Properties

NameLabelTypeDescriptionRequired
descriptionNameDescriptionSTRINGDescription of the lead, which is also set as the name of the lead.
ownerOwner IDSTRINGThe ID of the user the lead is assigned to.false

Example JSON Structure

{
  "label" : "Create Lead",
  "name" : "createLead",
  "parameters" : {
    "description" : "",
    "owner" : ""
  },
  "type" : "nutshell/v1/createLead"
}

Output

Type: OBJECT

Properties

NameTypeDescription
leadsARRAY
Items [{STRING(id), STRING(type), STRING(name), STRING(description)}]

Output Example

{
  "leads" : [ {
    "id" : "",
    "type" : "",
    "name" : "",
    "description" : ""
  } ]
}

How to find Owner ID

If you are an administrator, you can view all user and team details and derive the correct Owner ID for use with the API.

  1. Log in to your Nutshell account.
  2. Navigate to Settings (bottom-left corner of the screen).
  3. Select Users & teams.
  4. Click the name of the specific user.
  5. In your browser’s address bar, look at the URL. For example: https://app.nutshell.com/setup/user/settings/1. The number at the end of the URL (1 in this example) is the user’s simple integer entity ID.
  6. Convert the integer entity ID into the API Owner ID by appending -users to it. For example:
    • Entity ID: 1
    • API Owner ID: 1-users

Use this 1-users value as the Owner ID.

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.

How is this guide?

Last updated on

On this page