Freshmarketer

Freshmarketer is a complete marketing automation suite that helps you manage your contacts and lists, design, and deliver compelling marketing campaigns and automate your email marketing.

Integrate the Freshmarketer API with the Python API

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

Run Python Code with Python API on New Contact Added to List from Freshmarketer API
Freshmarketer + Python
 
Try it
Run Python Code with Python API on New Contact Removed From List from Freshmarketer API
Freshmarketer + Python
 
Try it
New Contact Added to List from the Freshmarketer API

Emit new event when a contact is added to a specific list.

 
Try it
New Contact Removed From List from the Freshmarketer API

Emit new event as soon as a contact is removed from a list.

 
Try it
Add or Update Contact with the Freshmarketer API

Create a new contact or updates an existing one.

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Find Contact with the Freshmarketer API

Searches for a contact by email and returns contact details if found. See the documentation

 
Try it
Remove Contact From List with the Freshmarketer API

Removes a contact from a specific list by email or contact ID. See the documentation

 
Try it

Overview of Freshmarketer

The Freshmarketer API enables automation of marketing efforts, providing tools to manage campaigns, leads, and more. In Pipedream, you can leverage these capabilities to create custom workflows that interact with Freshmarketer's data and connect it to other services. Combining Freshmarketer with Pipedream's serverless platform allows you to automate actions like syncing contacts, triggering campaigns based on external events, or analyzing marketing performance with external analytics tools.

Connect Freshmarketer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    freshmarketer: {
      type: "app",
      app: "freshmarketer",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.freshmarketer.$auth.domain}.myfreshworks.com/crm/sales/api/sales_accounts/filters`,
      headers: {
        "Authorization": `Token token=${this.freshmarketer.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}