Confection collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good for people too.

Integrate the Confection API with the Python API

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

Run Python Code with Python API on New Event from Confection API
Confection + Python
Try it
Run Python Code with Python API on New Field Value from Confection API
Confection + Python
Try it
Run Python Code with Python API on New or Updated Leads from Confection API
Confection + Python
Try it
New Event from the Confection API

Emit new event when a UUID receives a value for the configured Event Name. The latest value as well a history of all values ever received for that Event Name will be returned.

Try it
New Field Value from the Confection API

Emit new event when the UUID is significant enough to be classified as a lead. You define the field of significance and if a UUID gets a value for this field, it will trigger.

Try it
New or Updated Leads from the Confection API

Emit new event when any UUID is created or updated. To learn more about how Confection handles UUIDs, visit

Try it
Get Full Details of UUID with the Confection API

This action will retrieve the full details of a specified UUID.

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
Get Related UUIDs with the Confection API

This action will retrieve all UUIDs that have a likeness score of at least 50 (default) with the provided UUID. The likeness score can be customized in configuration.

Try it

Overview of Confection

Confection is an API that enables you to easily create and manage serverless
functions. Using Confection, you can deploy your functions to any number of
providers, including AWS Lambda, Google Cloud Functions, and Azure Functions.
Confection also provides a convenient command-line interface, making it easy to
manage your functions from your terminal.

Connect Confection

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    confection: {
      type: "app",
      app: "confection",
  async run({steps, $}) {
    const data = {
      "key": `${this.confection.$auth.secret_key}`,
    return await axios($, {
      url: `${this.confection.$auth.account_id}/account/`,

Overview of Python

Python API on Pipedream offers developers to build or automate a variety of
tasks from their web and cloud apps. With the Python API, users are able to
create comprehensive and flexible scripts, compose and manage environment
variables, and configure resources to perform a range of functions.

By using Pipedream, you can easily:

  • Create automated workflows that run on a specific schedule
  • Compose workflows across various apps and services
  • React to events in cloud services or form data
  • Automatically create content and notifications
  • Construct classifications and predictions
  • Analyze and react to sentiment, sentiment analysis and sentiment score
  • Connect backends to the frontend with serverless functions
  • Work with files and databases
  • Perform web requests and fetch data
  • Integrate third-party APIs into your apps
  • Orchestrate data processing tasks and pipelines
  • Create powerful application APIs with authentication and authorization
  • Design CI/CD pipelines and Continuous Delivery services
  • Connect databases like MongoDB and MySQL
  • Monitor connections and events
  • Generate alerts and notifications for corresponding events

Connect Python

def handler(pd: "pipedream"):
  # Reference data from previous steps
  # Return data for use in future steps
  return {"foo": {"test":True}}