Lahar

Increase your sales with marketing automation software that makes your digital strategy simple.

Integrate the Lahar API with the Gmail API

Setup the Lahar API trigger to run a workflow which integrates with the Gmail API. Pipedream's integration platform allows you to integrate Lahar and Gmail remarkably fast. Free for developers.

Send Email with the Gmail API

Send an email from your Google Workspace email account

 
Try it

Overview of Lahar

The Lahar API enables users to automate and integrate their marketing efforts, facilitating lead management, email campaigns, and analytics. On Pipedream, you can leverage these capabilities to build serverless workflows that respond to events in real-time, sync data across various platforms, and create custom marketing automations without managing infrastructure.

Connect Lahar

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    lahar: {
      type: "app",
      app: "lahar",
    }
  },
  async run({steps, $}) {
    const data = {
      "token_api_lahar": `${this.lahar.$auth.api_token}`,
      "email_contato": `{email_address}`,
      "estagio_lead": `1`,
    }
    return await axios($, {
      method: "put",
      url: `https://app.lahar.com.br/api/leads`,
      headers: {
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Overview of Gmail

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.

Connect Gmail

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})