IFTTT

Every thing works better together

Integrate the IFTTT API with the Python API

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

Trigger Event with JSON with the IFTTT API

Trigger Event with an arbitrary JSON payload. See 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
Trigger Event with Values with the IFTTT API

Trigger Event with 3 JSON values. See docs

 
Try it

Overview of IFTTT

IFTTT (If This Then That) is a service that lets you create chains of conditional statements, known as applets. These applets can automate tasks across a variety of web services and APIs. By integrating IFTTT with Pipedream, you unlock the ability to handle complex logic, manage state, transform data, and interact with over 600+ supported apps in Pipedream’s ecosystem. You can trigger workflows on Pipedream with events from IFTTT and vice versa, creating a seamless automation experience.

Connect IFTTT

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: {
    ifttt: {
      type: "app",
      app: "ifttt",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://connect.ifttt.com//v2/me`,
      headers: {
        "IFTTT-Service-Key": `${this.ifttt.$auth.ifttt_Service_Key}`,
      },
    })
  },
})

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