Get a unique URL where you can send HTTP or webhook requests
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Emit new event when a new message is posted to one or more channels
Get a URL and emit the HTTP body as an event on every request
Emit new event when the content of the URL changes.
Emit new event when a message was posted in a direct message channel
Send a message to a public channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Send a message to a private channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.
Send a direct message to a single user. See postMessage or scheduleMessage docs here
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})
With the Slack API, you can build all sorts of integrations and applications to
make your work life easier. Here are just a few examples:
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}`,
},
})
},
})