with LaunchNotes and Instantly?
Emit new event when an announcement is published.
Emit new event when a new background job has completed. See the documentation
Emit new event when an announcement is scheduled.
Emit new event when a new email is received. See the documentation
Emit new event when a new project subscription is created.
Generates a draft announcement for the LaunchNotes project. See the documentation
Adds a lead or leads to a campaign for tracking or further actions. See the documentation
Adds a new subscriber to the current LaunchNotes project. See the documentation
Updates the interest status of a lead in a campaign. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    launchnotes: {
      type: "app",
      app: "launchnotes",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `query { viewer { id email name }}`,
    }
    return await axios($, {
      method: "post",
      url: `https://app.launchnotes.io/graphql`,
      headers: {
        Authorization: `Bearer ${this.launchnotes.$auth.api_key}`,
      },
      data,
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    instantly: {
      type: "app",
      app: "instantly",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.instantly.ai/api/v2/accounts`,
      headers: {
        Authorization: `Bearer ${this.instantly.$auth.api_key}`,
      },
    })
  },
})