Discord

Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.

Go to site

Integrate the Discord API with the Cliniko API

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

Connect Discord

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    Authorization: `Bearer ${auths.discord.oauth_access_token}`,
    "accept": `application/json`,
  },
})

Connect Cliniko

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.${auths.cliniko.shard}.cliniko.com/v1/users`,
  headers: {
    "User-Agent": `Pipedream (support@pipedream.com)`,
    "Accept": `application/json`,
  },
  auth: {
    username: `${auths.cliniko.api_key}`,
    password: ``,
  },
})