with Gmail and Vision6?
Suspend the workflow until approved by email. See the documentation
Create a draft from your Google Workspace email account. See the documentation
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    gmail: {
      type: "app",
      app: "gmail",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
      },
    })
  },
})
The Vision6 API offers a powerful way to automate email marketing and audience engagement directly through Pipedream. With it, you can programmatically manage lists, contacts, and messages, and also track campaign performance. This API provides granular control over email workflows, enabling custom triggers, targeted actions, and detailed analytics retrieval. The combination of Vision6 with Pipedream's serverless platform unlocks endless possibilities for syncing data, personalizing communication, and optimizing marketing strategies without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    vision6: {
      type: "app",
      app: "vision6",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.vision6.$auth.region}.api.vision6.com/v1/lists`,
      headers: {
        Authorization: `Bearer ${this.vision6.$auth.api_key}`,
        "Content-Type": `application/json; charset=UTF-8`,
      },
    })
  },
})