Wordpress.org

Self hosted Wordpress

Go to site

Integrate the Wordpress.org API with the Telegram Bot API

Setup the Wordpress.org API trigger to run a workflow which integrates with the Telegram Bot API. Pipedream's integration platform allows you to integrate Wordpress.org 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

Connect Wordpress.org

const data = {
  "title": `New Title`,
}
return await require("@pipedreamhq/platform").axios(this, {
  method: "post",
  url: `https://${auths.wordpress_org.url}/wp-json/wp/v2/posts/POST_ID`,
  auth: {
    username: `${auths.wordpress_org.username}`,
    password: `${auths.wordpress_org.application_password}`,
  },
  data,
})

Connect Telegram Bot

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