Telegram Bot

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

Integrate the Telegram Bot API with the Salesforce (REST API) API

Setup the Telegram Bot API trigger to run a workflow which integrates with the Salesforce (REST API) API. Pipedream's integration platform allows you to integrate Telegram Bot and Salesforce (REST API) remarkably fast. Free for developers.

Add Contact to Campaign with Salesforce (REST API) API on Channel Updates (Instant) from Telegram Bot API
Telegram Bot + Salesforce (REST API)
 
Try it
Add Contact to Campaign with Salesforce (REST API) API on Message Updates (Instant) from Telegram Bot API
Telegram Bot + Salesforce (REST API)
 
Try it
Add Contact to Campaign with Salesforce (REST API) API on New Bot Command Received (Instant) from Telegram Bot API
Telegram Bot + Salesforce (REST API)
 
Try it
Add Contact to Campaign with Salesforce (REST API) API on New Updates (Instant) from Telegram Bot API
Telegram Bot + Salesforce (REST API)
 
Try it
Add Lead to Campaign with Salesforce (REST API) API on Channel Updates (Instant) from Telegram Bot API
Telegram Bot + Salesforce (REST API)
 
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 Deleted Object (Instant, of Selectable Type) from the Salesforce (REST API) API

Emit new event immediately after an object of arbitrary type (selected as an input parameter by the user) is deleted

 
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
Add Contact to Campaign with the Salesforce (REST API) API

Adds an existing contact to an existing campaign. See Event SObject and Create Record

 
Try it
Delete a Message with the Telegram Bot API

Deletes a message. See the docs for more information

 
Try it
Add Lead to Campaign with the Salesforce (REST API) API

Adds an existing lead to an existing campaign. See Event SObject and Create Record

 
Try it
Edit a Media Message with the Telegram Bot API

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

 
Try it

Overview of Telegram Bot

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!

Connect Telegram Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    telegram_bot_api: {
      type: "app",
      app: "telegram_bot_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
    })
  },
})

Connect Salesforce (REST API)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    salesforce_rest_api: {
      type: "app",
      app: "salesforce_rest_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.salesforce_rest_api.$auth.instancetype}/services/oauth2/userinfo`,
      headers: {
        Authorization: `Bearer ${this.salesforce_rest_api.$auth.oauth_access_token}`,
      },
    })
  },
})