Python

Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.

Go to site

Integrate the Python API with the Slack API

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

Connect Python

from pipedream.script_helpers import (steps, export)

# Reference data from previous steps
print(steps["trigger"]["context"]["id"])

# Return data for use in future steps
export("foo", {"test":True})

Connect Slack

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    slack: {
      type: "app",
      app: "slack",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://slack.com/api/users.profile.get`,
      headers: {
        Authorization: `Bearer ${this.slack.$auth.oauth_access_token}`,
      },
    })
  },
})
Save Zoom Cloud Recordings to Google Drive and Share on Slack
Save Zoom Cloud Recordings to Google Drive and Share on Slack
Save Zoom Cloud Recordings to Google Drive and Share on Slack.
Run a Pipedream workflow on PagerDuty on-call rotations
Run a Pipedream workflow on PagerDuty on-call rotations
Run common workflows, or any Node.js code you'd like, each time a new user rotates onto an on-call schedule.

Community Posts

Airtable Webhooks with Slack + Pipedream
Airtable Webhooks with Slack + Pipedream
We love Airtable here at Pipedream. But Airtable lacks one killer feature — webhooks. We took advantage of Airtable’s Slack notifications and built a way to send webhooks to an HTTP endpoint every time a record is created or updated in a base. It takes 10 minutes to setup and it’s free.