Segment

Customer data platform

Go to site

Integrate the Segment API with the Telegram Bot API

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

Track actions your users perform

Track lets you record the actions your users perform (note requires userId or anonymousId)

 
Try it
Associate an identified user with a group

Group lets you associate an identified user with a group (note requires userId or anonymousId)

 
Try it
Associate one identity with another

Alias is how you associate one identity with another.

 
Try it
Identify a user, tie them to their actions and record traits about them

identify lets you tie a user to their actions and record traits about them. It includes a unique User ID and any optional traits you know about them (note requires userId or anonymousId)

 
Try it
Record page views on your website

The page method lets you record page views on your website, along with optional extra information about the page being viewed (note requires userId or anonymousId)

 
Try it

Connect Segment

const data = {
  "event": `PipedreamTestOrder`,
  "anonymousId": `019mr8mf4r`,
}
return await require("@pipedreamhq/platform").axios(this, {
  method: "post",
  url: `https://api.segment.io/v1/track`,
  auth: {
    username: `${auths.segment.write_key}`,
    password: ``,
  },
  data,
})

Connect Telegram Bot

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.telegram.org/bot${auths.telegram_bot_api.token}/getMe`,
})