An intuitive, comprehensive online tool set that empowers progressive campaigns to be stronger & more effective
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Action Network is a powerful tool that allows you to do a lot with their API.
Here are some examples of what you can do:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
action_network: {
type: "app",
app: "action_network",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://actionnetwork.org/api/v2/people`,
params: {
"OSDI-API-Token": `${this.action_network.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})