Lahar

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

Integrate the Lahar API with the Formatting API

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

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
[Date/Time] Format with the Formatting API

Format a date string to another date string

 
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,
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})