Mautic

Open Source Marketing Automation

Integrate the Mautic API with the Go API

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

Run Go Code with Go API on New Contact from Mautic API
Mautic + Go
 
Try it
Run Go Code with Go API on New Form Submission from Mautic API
Mautic + Go
 
Try it
Run Go Code with Go API on Updated Contact from Mautic API
Mautic + Go
 
Try it
New Contact from the Mautic API

Emit new event when a contact is created. See the docs

 
Try it
New Form Submission from the Mautic API

Emit new event when a form is submitted. See the docs

 
Try it
Updated Contact from the Mautic API

Emit new event when a contact is updated. See the docs

 
Try it
Add Contact to a Campaign with the Mautic API

Adds a contact to a specific campaign. See docs

 
Try it
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
Clone Campaign with the Mautic API

Clones an existing campaign. See docs

 
Try it
Create Contact with the Mautic API

Creates a new contact. See docs

 
Try it
Delete Company with the Mautic API

Deletes a company. See docs

 
Try it

Overview of Mautic

The Mautic API empowers marketers to automate and integrate a wide range of marketing tasks directly into Pipedream workflows. With Mautic's API, you can manage contacts, campaigns, emails, and reports, and use triggers to automate responses based on user behavior. It's a robust tool to align marketing efforts with real-time data and actions, making it possible to personalize communication, streamline follow-ups, and ultimately drive conversions with less manual effort.

Connect Mautic

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: {
    mautic: {
      type: "app",
      app: "mautic",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `${this.mautic.$auth.mautic_url}/api/users/self`,
      headers: {
        Authorization: `Bearer ${this.mautic.$auth.oauth_access_token}`,
      },
    })
  },
})

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