with Action Builder and Zendesk Sell?
Emit new event when a new contact is created in Zendesk Sell.
Emit new event when a new deal is created in Zendesk Sell.
Emit new event when a new lead is created in Zendesk Sell.
The Action Builder API on Pipedream paves the way for crafting bespoke serverless workflows tailored to specific automation needs. Essentially, it's a playground for developers to create custom actions, integrate with a myriad of services, and automate tasks that were once manual and time-consuming. The API allows you to design, execute, and orchestrate actions that trigger on specific events or schedules, manipulate data with inbuilt functions, and connect disparate systems with ease, fostering a seamless data flow and enhanced productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    action_builder: {
      type: "app",
      app: "action_builder",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.action_builder.$auth.organization}.actionbuilder.org/api/rest/v1/campaigns`,
      headers: {
        "Content-Type": `application/json`,
        "OSDI-API-Token": `${this.action_builder.$auth.api_key}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    zendesk_sell: {
      type: "app",
      app: "zendesk_sell",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.getbase.com/v2/users/self`,
      headers: {
        Authorization: `Bearer ${this.zendesk_sell.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})