Kartra

The all-in-one online business platform that gives you every marketing & sales tool you need to grow your business profitably & more 📈

Integrate the Kartra API with the Formatting API

Setup the Kartra API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate Kartra 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 Kartra

The Kartra API allows you to interact programmatically with Kartra's marketing automation platform. Through Pipedream, you can leverage this API to create, update, retrieve, and delete various marketing and sales assets managed by Kartra, such as leads, emails, memberships, and more. By integrating Kartra with other apps on Pipedream, you can automate complex workflows, sync data across multiple platforms, and trigger actions based on events within Kartra or external services.

Connect Kartra

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
26
27
28
29
30
31
32
33
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    kartra: {
      type: "app",
      app: "kartra",
    }
  },
  async run({steps, $}) {
    const data = {
      "app_id": `${this.kartra.$auth.app_id}`,
      "api_key": `${this.kartra.$auth.api_key}`,
      "api_password": `${this.kartra.$auth.api_password}`,
      "lead": {
        "email": "enter_an_email_here"
      },
      "actions": [
        {
          "cmd": "search_lead"
        }
      ],
    }
    return await axios($, {
      method: "post",
      url: `https://app.kartra.com/api`,
      headers: {
        "Content-Type": `application/x-www-form-urlencoded`,
      },
      data,
    })
  },
})

Connect Formatting

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