Discord

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

Integrate the Discord API with the Harvest API

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

Create Timesheet Entry with Harvest API on New Message from Discord API
Discord + Harvest
 
Try it
Start Time Entry with Harvest API on New Message from Discord API
Discord + Harvest
 
Try it
Stop Time Entry with Harvest API on New Message (Instant) from Discord API
Discord + Harvest
 
Try it
Create Timesheet Entry with Harvest API on Message Deleted (Instant) from Discord API
Discord + Harvest
 
Try it
Create Timesheet Entry with Harvest API on New Command Received (Instant) from Discord API
Discord + Harvest
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Invoice Entry from the Harvest API

Emit new notifications when a new invoice is created

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Time Entry from the Harvest API

Emit new notifications when a new time entry is created

 
Try it
Create Timesheet Entry with the Harvest API
 
Try it
Start Time Entry with the Harvest API

Restart a stopped timer entry. See docs here

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Stop Time Entry with the Harvest API

Stop a timer entry. See docs here

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it

Overview of Discord

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})

Overview of Harvest

The Harvest API allows developers to programmatically access data and objects
in Harvest, a web-based time tracking application. With the API, developers can
create applications that submit and retrieve time tracking data, as well as
automate various aspects of the Harvest user experience.

Some examples of what you can build using the Harvest API include:

  • A time tracking application that automatically submits time tracking data to
    Harvest on behalf of the user
  • A reporting application that retrieves time tracking data from Harvest and
    presents it in various charts and graphs
  • An integration with a third-party project management application that pulls
    in time tracking data from Harvest to provide a more complete picture of
    project progress

Connect Harvest

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    harvest: {
      type: "app",
      app: "harvest",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.harvestapp.com/v2/users/me`,
      headers: {
        Authorization: `Bearer ${this.harvest.$auth.oauth_access_token}`,
        "Harvest-Account-Id": `${this.harvest.$auth.account_id}`,
        "User-Agent": `Pipedream.com`,
      },
      params: {
        account_id: `${this.harvest.$auth.account_id}`,
      },
    })
  },
})