Lahar

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

Integrate the Lahar API with the Go API

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

Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
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 Go

You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}