One SMS app for your entire company. 2-way texting, SMS marketing, calling, & more.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Retrieves the list of all the conversations of a specific contact id. See the documentation
Search active conversations in conversation history. See the documentation
The Salesmsg API facilitates two-way SMS and MMS communications, allowing users to send, receive, and manage messages programmatically. It provides a suite of tools to integrate texting capabilities into various workflows and systems. On Pipedream, you can harness this API to automate conversations, sync with customer databases, trigger notifications, and much more, utilizing Pipedream's serverless platform to connect Salesmsg with a plethora of other apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesmsg: {
type: "app",
app: "salesmsg",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.salesmessage.com/pub/v2.1/users/me`,
headers: {
Authorization: `Bearer ${this.salesmsg.$auth.oauth_access_token}`,
},
})
},
})
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:
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}}