Nutshell

The all-in-one CRM and email marketing platform that helps B2B organizations work together to win more deals.

Integrate the Nutshell API with the Python API

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

Run Python Code with Python API on New Lead from Nutshell API
Nutshell + Python
 
Try it
Run Python Code with Python API on New Lead Won from Nutshell API
Nutshell + Python
 
Try it
Run Python Code with Python API on New Person Profile Created from Nutshell API
Nutshell + Python
 
Try it
New Lead from the Nutshell API

Emit new event when a new lead is created.

 
Try it
New Lead Won from the Nutshell API

Emit new event when a lead is won.

 
Try it
New Person Profile Created from the Nutshell API

Emit new event when a new person profile is created.

 
Try it
Create Company with the Nutshell API

Creates a new company within Nutshell. 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
Create Contact with the Nutshell API

Creates a new contact. See the documentation

 
Try it
Create Lead with the Nutshell API

Initiates a new lead within Nutshell. See the documentation

 
Try it

Overview of Nutshell

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.

Connect Nutshell

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: {
    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,
    })
  },
})

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