Increase your sales with marketing automation software that makes your digital strategy simple.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The Lahar API enables users to automate and integrate their marketing efforts, facilitating lead management, email campaigns, and analytics. On Pipedream, you can leverage these capabilities to build serverless workflows that respond to events in real-time, sync data across various platforms, and create custom marketing automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lahar: {
type: "app",
app: "lahar",
}
},
async run({steps, $}) {
const data = {
"token_api_lahar": `${this.lahar.$auth.api_token}`,
"email_contato": `{email_address}`,
"estagio_lead": `1`,
}
return await axios($, {
method: "put",
url: `https://app.lahar.com.br/api/leads`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
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}}