Skip to content

Zoho CRM ​

Creates or updates leads, contacts, accounts and deals without duplicates; finds a sender; adds a note; attaches an email’s file to a record.

The Zoho CRM node acts on your CRM’s leads, contacts, accounts and deals through a Zoho CRM connection. The Create or update action avoids duplicates: Zoho first looks for a record with the same address (or the chosen field) and updates it when it exists. Add a note and Attach a file complete an existing record.

At a glance ​

  • Type: zoho_crm.api · version 1
  • Category: Data
  • Kind: Step — one stage of a run
  • Effect: Writes outside (external_write) — writes outside Loop & Roll; described instead of performed during a test run
  • Needs a carrier email: No
  • Connection: Zoho CRM
  • Inputs: main
  • Outputs: main
The ports of “Zoho CRM”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Zoho CRM connection.Zoho CRMzoho_crm.apimainmainerror · only with “Follow the Error output”Connection: Zoho CRM
The ports of “Zoho CRM”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Zoho CRM connection.

Parameters ​

connection ​

Zoho CRM connection — The Zoho CRM connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

action ​

Action

  • Type: One choice (options)
  • Required: Yes
  • Default: upsert
  • Options:
    • create — Create a record
    • upsert — Create or update (no duplicate)
    • update — Update a record
    • get — Get a record
    • search — Search
    • addNote — Add a note
    • attach — Attach a file

module ​

Module

  • Type: One choice (options)
  • Required: Yes
  • Default: Leads
  • Options:
    • Leads — Leads
    • Contacts — Contacts
    • Accounts — Accounts
    • Deals — Deals

recordId ​

Record — The Zoho ID of the record (a series of digits), often {{ data.<step>.id }}.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 30 characters at most
  • Shown when: action is one of update, get, addNote, attach
  • Expressions: {{ }} accepted

values ​

Fields — The field’s API name and its value. Lead: Last_Name (required), First_Name, Email, Phone, Company, Lead_Source, Description. Contact: Last_Name, Email. Account: Account_Name. Deal: Deal_Name, Stage, Closing_Date (YYYY-MM-DD), Amount.

  • Type: Key / value pairs (keyValue)
  • Required: No
  • Shown when: action is one of create, upsert, update
  • Expressions: {{ }} accepted

fieldsJson ​

Fields as JSON (advanced) — For values that are not text (numbers, checkboxes, lists) and custom fields. Merged over the fields above.

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 20000 characters at most
  • Shown when: action is one of create, upsert, update
  • Expressions: {{ }} accepted

duplicateCheckField ​

Field that identifies a duplicate — Empty: Zoho’s own (Email for leads and contacts, Account_Name for accounts, Deal_Name for deals).

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 100 characters at most
  • Shown when: action is upsert
  • Expressions: {{ }} accepted

searchBy ​

Search by

  • Type: One choice (options)
  • Required: No
  • Default: email
  • Options:
    • email — Exact email address
    • word — Word (name, company…)
  • Shown when: action is search

searchTerm ​

Search for

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 255 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is search
  • Expressions: {{ }} accepted

limit ​

Maximum count

  • Type: Number (number)
  • Required: No
  • Default: 10
  • Whole number, from 1 to 200
  • Shown when: action is search

note ​

Note — The note’s text. Accepts {{ }} expressions.

  • Type: Long text (text)
  • Required: Yes
  • Default: "" (empty)
  • 30000 characters at most
  • Example: {{ email.bodyText }}
  • Shown when: action is addNote
  • Expressions: {{ }} accepted

attachmentPosition ​

Attachment (position) — The attachment to upload: one from the email (1 for the first one) or a file added by an earlier step ({{ data.<step>.attachmentPosition }}).

  • Type: Number (number)
  • Required: No
  • Default: 1
  • Whole number, from 1 to 2000000
  • Shown when: action is attach

Outputs ​

  • main — Taken once the Zoho CRM call has succeeded. A refusal from Zoho (missing required field, invalid value) fails the step instead.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.<step>.id }} — string. Create, create or update, update, get: the Zoho ID of the record.
  • {{ data.<step>.created }} — boolean. Create or update: true when Zoho created the record, false when it updated an existing one.
  • {{ data.<step>.record }} — object. Get: the record, fields keyed by API name ({{ data.<step>.record.Email }}).
  • {{ data.<step>.records }} — array of object. Search: the records found.
  • {{ data.<step>.first }} — object. Search: the first record found, or null.
  • {{ data.<step>.found }} — boolean. Search: true when at least one record is found.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of done (test run).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Loop & Roll — the workflow builder for email.