Aroflo

Field Service Management Software

Go to site

Integrate the Aroflo API with the Discord Bot API

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

Get Current User Guilds

List the guilds the current bot user is a part of from the /users/@me/guilds API endpoint

 
Try it
Modify Guild

Modify a guild's settings. Requires the MANAGE_GUILD permission. Returns the updated guild object on success

 
Try it
List Guild Members

Returns a list of guild member objects that are members of the guild, from the /guilds/{guild.id}/members endpoint

 
Try it
Get Channel

Get a channel by ID. Returns a channel object.

 
Try it
Get User

Returns a user object for a given user ID from the /users/{user.id} endpoint

 
Try it

Connect Aroflo

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.aroflo.com/`,
  headers: {
    "Accept": `text/json`,
    "Authentication": `HMAC ${auths.aroflo.hmac_key}`,
  },
  params: {
    where: `and|archived|=|false`,
    zone: `users`,
    page: `1`,
  },
})

Connect Discord Bot

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    "Authorization": `Bot ${auths.discord_bot.bot_token}`,
  },
})