← Telegram Bot + Zoho CRM integrations

Get Object with Zoho CRM API on New Channel Updates (Instant) from Telegram Bot API

Pipedream makes it easy to connect APIs for Zoho CRM, Telegram Bot and 1000+ other apps remarkably fast.

Trigger workflow on
New Channel Updates (Instant) from the Telegram Bot API
Next, do this
Get Object with the Zoho CRM API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Telegram Bot 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 Channel Updates (Instant) trigger
    1. Connect your Telegram Bot account
  3. Configure the Get Object action
    1. Connect your Zoho CRM account
    2. Select a module
    3. Configure record_id
  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 each time a channel post is created or updated.
Version:0.1.3
Key:telegram_bot_api-channel-updates

Telegram Bot Overview

With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:

  • Sending and receiving messages
  • Social networking
  • Content management
  • File sharing
  • Location sharing
  • Bot administration
  • And more!

Trigger Code

import base from "../common/webhooks.mjs";

export default {
  ...base,
  key: "telegram_bot_api-channel-updates",
  name: "New Channel Updates (Instant)",
  description: "Emit new event each time a channel post is created or updated.",
  version: "0.1.3",
  type: "source",
  dedupe: "unique",
  methods: {
    ...base.methods,
    getEventTypes() {
      return [
        "channel_post",
        "edited_channel_post",
      ];
    },
    getMeta(event, channelPost) {
      return {
        id: event.update_id,
        summary: `${channelPost.chat.title} - ${channelPost.text}`,
        ts: new Date(channelPost.edit_date ?? channelPost.date),
      };
    },
    processEvent(event) {
      const channelPost = event.edited_channel_post ?? event.channel_post;

      if (!channelPost?.chat) {
        throw new Error(`Expected event to contain a chat, but received: ${JSON.stringify(event)}`);
      }

      this.$emit(event, this.getMeta(event, channelPost));
    },
  },
};

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
Telegram BottelegramBotApiappThis component uses the Telegram Bot 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.

Trigger Authentication

Telegram Bot uses API keys for authentication. When you connect your Telegram Bot account, Pipedream securely stores the keys so you can easily authenticate to Telegram Bot APIs in both code and no-code steps.

To use the Telegram Bot API, you must first create a new bot by chatting with the BotFather.


Telegram Bot how to

After you create your bot, copy the bot token and add it below.

About Telegram Bot

Telegram is a cloud-based instant messaging and voice over IP service

Action

Description:Gets record data given its id.
Version:0.1.2
Key:zoho_crm-get-object

Zoho CRM Overview

Zoho CRM API is a powerful and versatile tool to create business applications.
It provides an easy to use platform for developers to create customer-facing
applications for businesses of all sizes. With the Zoho CRM API, developers can
create applications for sales, marketing, customer support, and even financial
data management.

The Zoho CRM API provides access to a comprehensive set of features that allow
developers to build efficient, reliable and intuitive business solutions. These
features include:

  • Customer Relationship Management (CRM)
  • Automation Tools
  • Reporting and Analytics
  • Customization and Deployment

Here are some examples of what developers can build using the Zoho CRM API:

  • Automate customer interactions and manage customer relationship workflows
  • Send targeted emails based on customer segmentation or customer behavior
  • Leverage the reporting and analytics capabilities of the Zoho CRM to gain
    insights into customer data
  • Create dynamic dashboards and reports to better understand customer
    engagement and performance
  • Develop customer relationship management apps to capture customer information
    and interact with customers
  • Integrate the Zoho CRM with external applications and services to build
    comprehensive customer-facing applications.

Action Code

// legacy_hash_id: a_wdid0G
import { axios } from "@pipedream/platform";

export default {
  key: "zoho_crm-get-object",
  name: "Get Object",
  description: "Gets record data given its id.",
  version: "0.1.2",
  type: "action",
  props: {
    zoho_crm: {
      type: "app",
      app: "zoho_crm",
    },
    module: {
      type: "string",
      description: "Module where the record is located.",
      options: [
        "Leads",
        "Accounts",
        "Contacts",
        "Deals",
        "Campaigns",
        "Tasks",
        "Cases",
        "Events",
        "Calls",
        "Solutions",
        "Products",
        "Vendors",
        "Quotes",
        "Price_Books",
        "Quotes",
        "Sales_Orders",
        "Purchase_Orders",
        "Invoices",
        "Custom",
        "Activities",
      ],
    },
    record_id: {
      type: "string",
      description: "Id of the record to get.",
    },
  },
  async run({ $ }) {
  //See Zoho CRM API docs at: https://www.zoho.com/crm/developer/docs/api/v2/get-records.html

    if (!this.module || !this.record_id) {
      throw new Error("Must provide module, and record_id parameters.");
    }

    return await axios($, {
      url: `${this.zoho_crm.$auth.api_domain}/crm/v2/${this.module}/${this.record_id}`,
      headers: {
        "Authorization": `Zoho-oauthtoken ${this.zoho_crm.$auth.oauth_access_token}`,
      },
    });
  },
};

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 CRMzoho_crmappThis component uses the Zoho CRM app.
modulemodulestringSelect a value from the drop down menu:LeadsAccountsContactsDealsCampaignsTasksCasesEventsCallsSolutionsProductsVendorsQuotesPrice_BooksQuotesSales_OrdersPurchase_OrdersInvoicesCustomActivities
record_idrecord_idstring

Id of the record to get.

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

Customer Relationship Management

More Ways to Connect Zoho CRM + Telegram Bot

New Event (Instant) with Zoho CRM API on Channel Updates (Instant) from Telegram Bot API
Telegram Bot + Zoho CRM
 
Try it
New Event (Instant) with Zoho CRM API on Message Updates (Instant) from Telegram Bot API
Telegram Bot + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on Channel Updates (Instant) from Telegram Bot API
Telegram Bot + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on Message Updates (Instant) from Telegram Bot API
Telegram Bot + Zoho CRM
 
Try it
Download Attachment with Zoho CRM API on New Updates (Instant) from Telegram Bot API
Telegram Bot + Zoho CRM
 
Try it
New Bot Command Received (Instant) from the Telegram Bot API

Emit new event each time a Telegram Bot command is received.

 
Try it
New Channel Updates (Instant) from the Telegram Bot API

Emit new event each time a channel post is created or updated.

 
Try it
New Message Updates (Instant) from the Telegram Bot API

Emit new event each time a Telegram message is created or updated.

 
Try it
New Updates (Instant) from the Telegram Bot API

Emit new event for each new Telegram event.

 
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
Create Chat Invite Link with the Telegram Bot API

Create an additional invite link for a chat, See the docs for more information

 
Try it
Delete a Message with the Telegram Bot API

Deletes a message. See the docs for more information

 
Try it
Edit a Media Message with the Telegram Bot API

Edits photo or video messages. See the docs for more information

 
Try it
Edit a Text Message with the Telegram Bot API

Edits text or game messages. See the docs for more information

 
Try it
Export Chat Invite Link with the Telegram Bot API

Generate a new primary invite link for a chat, See the docs for more information

 
Try it