Create Pipedrive lead
Automatically create Pipedrive lead on pipedrive.com. Create a new lead in Pipedrive's Leads Inbox via the "+ Lead" quick-add form, setting the contact person's name as a new contact. Returns the new lead's id and detail-page URL.
Input
workspace requiredPipedrive workspace subdomain, e.g. "reduck"
contact_name requiredName of the contact person for this lead (created as a new contact)
Output
id requiredurl requiredtitle requiredFAQ
Pipedrive whoami (signed-in account)
Report which Pipedrive account this browser is signed in as: the user id, email, name and company. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Pipedrive scripts.
Pipedrive login (Google SSO)
Log into Pipedrive with the Google button, handling the Google account chooser and consent screen, and land in your Pipedrive company. Returns straight away if you are already signed in, and reports the Pipedrive account and company it signed into. Optionally pass which Google account to use. Needs a browser that is already signed in to Google.
List Pipedrive deals
List deals from Pipedrive's Deals list view, reading whatever columns the current view shows (title, value, organization, contact person, expected close date, next activity date, owner). Returns each deal's id and its visible column values.
