SuperPhone

SuperPhone® for Coaches & Creators

Integrate the SuperPhone API with the Python API

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

Run Python Code with Python API on New Contact Created from SuperPhone API
SuperPhone + Python
 
Try it
Run Python Code with Python API on New Message Received from SuperPhone API
SuperPhone + Python
 
Try it
New Contact Created from the SuperPhone API

Triggered when a new contact is created. See the documentation

 
Try it
New Message Received from the SuperPhone API

Triggered when a new message is received. See the documentation

 
Try it
Create New Contact with the SuperPhone API

Create a new contact. See the documentation

 
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
Send Message with the SuperPhone API

Send a message to a contact. See the documentation

 
Try it
Update Contact with the SuperPhone API

Update an existing contact. See the documentation

 
Try it

Overview of SuperPhone

SuperPhone is a communication platform that allows users to manage text and call campaigns through a personal phone number. Leveraging the SuperPhone API on Pipedream, you can automate interactions with contacts, send personalized messages, and get analytics on message deliverability and engagement. With Pipedream's serverless platform, you can trigger workflows on various events, like receiving a new message or a specific keyword, and connect to countless other apps to extend functionality.

Connect SuperPhone

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    superphone: {
      type: "app",
      app: "superphone",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{{your_query}}`, // such as "query testAuth {defaultForm {id}}"
    }
    return await axios($, {
      method: "post",
      url: `https://api.${this.superphone.$auth.environment}/graphql`,
      headers: {
        Authorization: `Bearer ${this.superphone.$auth.api_key}`,
        "Accept": `application/json`,
      },
      data,
    })
  },
})

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