Cloudflare (API key)

CDN, DDoS mitigation, Internet security, and DNS services

Go to site

Integrate the Cloudflare (API key) API with the Telegram Bot API

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

Send Telegram Message

Sends a message using the sendMessage API method: https://core.telegram.org/bots/api#sendmessage

 
Try it
Create DNS Record

Creates a DNS Record given its zone id

 
Try it
Purge All Files

Remove ALL files from Cloudflare's cache.

 
Try it
Purge Files By Url

Removes one or more files from Cloudflare's cache either by specifying URLs.

 
Try it
Update DNS record

Updates a DNS Record given its zone id

 
Try it

Connect Cloudflare (API key)

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.cloudflare.com/client/v4/user`,
  headers: {
    "X-Auth-Key": `${auths.cloudflare_api_key.API_Key}`,
    "X-Auth-Email": `${auths.cloudflare_api_key.Email}`,
  },
})

Connect Telegram Bot

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