← Salesforce + Zoho CRM integrations

List Objects with Zoho CRM API on New Deleted Record (Instant, of Selectable Type) from Salesforce API

Pipedream makes it easy to connect APIs for Zoho CRM, Salesforce and 2,700+ other apps remarkably fast.

Trigger workflow on
New Deleted Record (Instant, of Selectable Type) from the Salesforce API
Next, do this
List Objects with the Zoho CRM API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Salesforce trigger and Zoho CRM action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Deleted Record (Instant, of Selectable Type) trigger
    1. Connect your Salesforce account
    2. Configure timer
    3. Select a Object Type
  3. Configure the List Objects action
    1. Connect your Zoho CRM account
    2. Select a Module
    3. Optional- Configure Fields
    4. Optional- Configure IDs
    5. Optional- Select a Sort Order
    6. Optional- Configure Sort By
    7. Optional- Select a Converted
    8. Optional- Select a Approved
    9. Optional- Configure Page
    10. Optional- Configure Per Page
    11. Optional- Configure Custom View ID
    12. Optional- Configure Territory ID
    13. Optional- Configure Include Child
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a record of the selected object type is deleted. [See the documentation](https://sforce.co/3msDDEE)
Version:0.1.0
Key:salesforce_rest_api-record-deleted-instant

Salesforce Overview

The Salesforce (REST API) provides a powerful platform for creating and managing customer relationships with a wide array of features like data manipulation, querying, and complex automation. With Pipedream's serverless execution, you can create workflows that automate your sales processes, sync data with other platforms, enhance customer engagement, and trigger actions based on specific events. Dive into Salesforce data, streamline lead management, track customer interactions, and push or pull data to or from Salesforce seamlessly.

Trigger Code

import startCase from "lodash/startCase.js";
import common from "../common.mjs";

export default {
  ...common,
  type: "source",
  name: "New Deleted Record (Instant, of Selectable Type)",
  key: "salesforce_rest_api-record-deleted-instant",
  description: "Emit new event when a record of the selected object type is deleted. [See the documentation](https://sforce.co/3msDDEE)",
  version: "0.1.0",
  methods: {
    ...common.methods,
    generateWebhookMeta(data) {
      const nameField = this.getNameField();
      const { Old: oldObject } = data.body;
      const {
        LastModifiedDate: lastModifiedDate,
        Id: id,
        [nameField]: name,
      } = oldObject;
      const entityType = startCase(this.objectType);
      const summary = `${entityType} deleted: ${name}`;
      const ts = Date.parse(lastModifiedDate);
      const compositeId = `${id}-${ts}`;
      return {
        id: compositeId,
        summary,
        ts,
      };
    },
    generateTimerMeta(item) {
      const {
        id,
        deletedDate,
      } = item;
      const entityType = startCase(this.objectType);
      const summary = `${entityType} deleted: ${id}`;
      const ts = Date.parse(deletedDate);
      return {
        id,
        summary,
        ts,
      };
    },
    getEventType() {
      return "deleted";
    },
    async processTimerEvent(eventData) {
      const {
        startTimestamp,
        endTimestamp,
      } = eventData;
      const {
        deletedRecords,
        latestDateCovered,
      } = await this.salesforce.getDeletedForObjectType(
        this.objectType,
        startTimestamp,
        endTimestamp,
      );
      this.setLatestDateCovered(latestDateCovered);

      // When a record is deleted, the `getDeleted` API only shows the ID of the
      // deleted item and the date in which it was deleted.
      deletedRecords.forEach((item) => {
        const meta = this.generateTimerMeta(item);
        this.$emit(item, meta);
      });
    },
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
SalesforcesalesforceappThis component uses the Salesforce app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
timer$.interface.timer

The timer is only used as a fallback if instant event delivery (webhook) is not available.

Object TypeobjectTypestringSelect a value from the drop down menu.

Trigger Authentication

Salesforce uses OAuth authentication. When you connect your Salesforce account, Pipedream will open a popup window where you can sign into Salesforce and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Salesforce API.

Pipedream requests the following authorization scopes when you connect your account:

About Salesforce

Cloud-based customer relationship management (CRM) platform that helps businesses manage sales, marketing, customer support, and other business activities, ultimately aiming to improve customer relationships and streamline operations.

Action

Description:Gets the list of available records from a module.
Version:0.2.1
Key:zoho_crm-list-objects

Zoho CRM Overview

The Zoho CRM API enables the manipulation and retrieval of data within Zoho CRM, a platform for managing your sales, marketing, support, and inventory in a single system. Leveraging this on Pipedream, you can automate tasks like syncing contacts, updating lead statuses, or creating custom CRM operations that trigger actions in other apps. Pipedream's serverless platform allows for real-time data processing, transforming, and orchestrating workflows that respond to events in Zoho CRM with minimal latency.

Action Code

import zohoCrm from "../../zoho_crm.app.mjs";

export default {
  key: "zoho_crm-list-objects",
  name: "List Objects",
  description: "Gets the list of available records from a module.",
  version: "0.2.1",
  type: "action",
  props: {
    zohoCrm,
    module: {
      propDefinition: [
        zohoCrm,
        "module",
      ],
    },
    fields: {
      type: "string",
      label: "Fields",
      description: "To retrieve specific field values. Comma separated field API names.",
      optional: true,
    },
    ids: {
      type: "string",
      label: "IDs",
      description: "To retrieve specific records based on their unique ID.",
      optional: true,
    },
    sortOrder: {
      type: "string",
      label: "Sort Order",
      description: "To sort the list of records in either ascending or descending order.",
      optional: true,
      options: [
        "asc",
        "desc",
      ],
    },
    sortBy: {
      type: "string",
      label: "Sort By",
      description: "Specify the API name of the field based on which the records must be sorted.",
      optional: true,
    },
    converted: {
      type: "string",
      label: "Converted",
      description: "To retrieve the list of converted records.",
      optional: true,
      options: [
        "false",
        "true",
        "both",
      ],
    },
    approved: {
      type: "string",
      label: "Approved",
      description: "To retrieve the list of approved records.",
      optional: true,
      options: [
        "false",
        "true",
        "both",
      ],
    },
    page: {
      type: "string",
      label: "Page",
      description: "To get the list of records from the respective pages.",
      optional: true,
    },
    perPage: {
      type: "string",
      label: "Per Page",
      description: "To get the list of records available per page.",
      optional: true,
    },
    cvId: {
      type: "string",
      label: "Custom View ID",
      description: "To get the list of records in a custom view.",
      optional: true,
    },
    territoryId: {
      type: "string",
      label: "Territory ID",
      description: "To get the list of records in a territory.",
      optional: true,
    },
    includeChild: {
      type: "boolean",
      label: "Include Child",
      description: "To include records from the child territories",
      optional: true,
    },
  },
  async run({ $ }) {
    const params = {
      fields: this.fields,
      ids: this.ids,
      sort_order: this.sortOrder,
      sort_by: this.sortBy,
      converted: this.converted,
      approved: this.approved,
      page: this.page,
      per_page: this.perPage,
      cvid: this.cvId,
      territory_id: this.territoryId,
      include_child: this.includeChild,
    };
    const response = await this.zohoCrm.listRecords(this.module, this.page, params, $);
    $.export("$summary", "Successfully listed objects");
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Zoho CRMzohoCrmappThis component uses the Zoho CRM app.
ModulemodulestringSelect a value from the drop down menu.
Fieldsfieldsstring

To retrieve specific field values. Comma separated field API names.

IDsidsstring

To retrieve specific records based on their unique ID.

Sort OrdersortOrderstringSelect a value from the drop down menu:ascdesc
Sort BysortBystring

Specify the API name of the field based on which the records must be sorted.

ConvertedconvertedstringSelect a value from the drop down menu:falsetrueboth
ApprovedapprovedstringSelect a value from the drop down menu:falsetrueboth
Pagepagestring

To get the list of records from the respective pages.

Per PageperPagestring

To get the list of records available per page.

Custom View IDcvIdstring

To get the list of records in a custom view.

Territory IDterritoryIdstring

To get the list of records in a territory.

Include ChildincludeChildboolean

To include records from the child territories

Action Authentication

Zoho CRM uses OAuth authentication. When you connect your Zoho CRM account, Pipedream will open a popup window where you can sign into Zoho CRM and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zoho CRM API.

Pipedream requests the following authorization scopes when you connect your account:

ZohoCRM.settings.allZohoCRM.users.allZohoCRM.org.allZohoCRM.modules.allZohoCRM.bulk.allZohoCRM.notifications.readZohoCRM.notifications.createZohoCRM.notifications.updateZohoCRM.notifications.deleteZohoCRM.coql.READZohoCRM.functions.execute.READZohoCRM.functions.execute.CREATEZohoCRM.templates.email.READZohoCRM.templates.inventory.READ

About Zoho CRM

Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.

More Ways to Connect Zoho CRM + Salesforce

Download Attachment with Zoho CRM API on New Outbound Message (Instant) from Salesforce API
Salesforce + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on New Updated Field on Record (Instant, of Selectable Type) from Salesforce API
Salesforce + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on New Updated Field on Record (of Selectable Type) from Salesforce API
Salesforce + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on New Object (Instant, of Selectable Type) from Salesforce (REST API) API
Salesforce + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on New Object (of Selectable Type) from Salesforce (REST API) API
Salesforce + Zoho CRM
 
Try it
New Deleted Record (Instant, of Selectable Type) from the Salesforce API

Emit new event when a record of the selected object type is deleted. See the documentation

 
Try it
New Outbound Message (Instant) from the Salesforce API

Emit new event when a new outbound message is received in Salesforce.

 
Try it
New Record (Instant, of Selectable Type) from the Salesforce API

Emit new event when a record of the selected object type is created. See the documentation

 
Try it
New Updated Record (Instant, of Selectable Type) from the Salesforce API

Emit new event when a record of the selected type is updated. See the documentation

 
Try it
New Contact (Instant) from the Zoho CRM API

Emits an event each time a new contact is created in Zoho CRM

 
Try it
Add Contact to Campaign with the Salesforce API

Adds an existing contact to an existing campaign. See the documentation

 
Try it
Add Lead to Campaign with the Salesforce API

Adds an existing lead to an existing campaign. See the documentation

 
Try it
Convert SOAP XML Object to JSON with the Salesforce API

Converts a SOAP XML Object received from Salesforce to JSON

 
Try it
Create Account with the Salesforce API

Creates a Salesforce account. See the documentation

 
Try it
Create Attachment with the Salesforce API

Creates an Attachment on a parent object. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.