Ontraport

Ontraport is a unified and all-in-one CRM and marketing automation platform designed to help manage your entire marketing workflow, from bringing in new visitors all the way to making sure they feel welcome as customers.

Integrate the Ontraport API with the Python API

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

Run Python Code with Python API on New Contact Created (Instant) from Ontraport API
Ontraport + Python
 
Try it
Run Python Code with Python API on New Form Submitted (Instant) from Ontraport API
Ontraport + Python
 
Try it
Run Python Code with Python API on Product Purchased (Instant) from Ontraport API
Ontraport + Python
 
Try it
Run Python Code with Python API on Tag Added (Instant) from Ontraport API
Ontraport + Python
 
Try it
Run Python Code with Python API on Transaction Created With Product (Instant) from Ontraport API
Ontraport + Python
 
Try it
New Contact Created (Instant) from the Ontraport API

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

 
Try it
New Form Submitted (Instant) from the Ontraport API

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

 
Try it
Product Purchased (Instant) from the Ontraport API

Emit new event when a product is purchased. See the docs.

 
Try it
Tag Added (Instant) from the Ontraport API

Emit new event when a tag is added. See the docs.

 
Try it
Transaction Created With Product (Instant) from the Ontraport API

Emit new event when a transaction is created with a product. See the docs.

 
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

Overview of Ontraport

Ontraport's API offers robust capabilities for automating business processes, managing customer relationships, and streamlining marketing efforts. Use it to create dynamic, serverless workflows on Pipedream that react to events in real-time, sync data between services, or enhance customer interactions. With this API, you can automate tasks such as updating contact information, tracking customer behaviors, and sending targeted communications, all customizable to your specific business needs.

Connect Ontraport

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: {
    ontraport: {
      type: "app",
      app: "ontraport",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.ontraport.com/1/Contacts`,
      headers: {
        "Api-Key": `${this.ontraport.$auth.api_key}`,
        "Api-Appid": `${this.ontraport.$auth.api_appid}`,
      },
    })
  },
})

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