with Pipefy and Unbounce?
Pipefy is a platform that empowers users to streamline complex processes and workflows without the need for technical skills. With the Pipefy API, you can automate various aspects of your Pipefy environment, such as creating cards, updating fields, and managing pipelines programmatically. Use Pipedream to connect Pipefy with hundreds of other apps and orchestrate workflows that can save time, reduce errors, and enhance efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    pipefy: {
      type: "app",
      app: "pipefy",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{ me { name } }`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.pipefy.com/graphql`,
      headers: {
        Authorization: `Bearer ${this.pipefy.$auth.token}`,
      },
      data,
    })
  },
})
The Unbounce API lets you tap into the powerful landing page platform to automate tasks and sync data with other services. Use it within Pipedream workflows to capture, analyze, and act on leads generated through your landing pages. Think of fetching form submissions, updating leads in a CRM, or dynamically modifying landing page content.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    unbounce: {
      type: "app",
      app: "unbounce",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.unbounce.com/users/self`,
      headers: {
        Authorization: `Bearer ${this.unbounce.$auth.oauth_access_token}`,
        "Accept": `application/vnd.unbounce.api.v0.4+json`,
      },
    })
  },
})