The all-in-one CRM and email marketing platform that helps B2B organizations work together to win more deals.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The Nutshell API allows you to access and manage data within the Nutshell CRM platform, enabling you to automate tasks, sync information across apps, and build custom integrations. With Pipedream, these capabilities are harnessed through serverless workflows that can trigger actions within Nutshell or react to events, all with minimal setup. You can create leads, update contacts, manage sales processes, and more, all in a scalable and efficient manner.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nutshell: {
type: "app",
app: "nutshell",
}
},
async run({steps, $}) {
const data = {
"id": "apeye",
"method": "getUser",
}
return await axios($, {
url: `https://${this.nutshell.$auth.api}/api/v1/json`,
auth: {
username: `${this.nutshell.$auth.email}`,
password: `${this.nutshell.$auth.password}`,
},
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}}