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.
Input
None
Output
evidence requiredloggedIn requiredid optionalname optionalemail optionalcompany optionalPipedrive company subdomain (<company>.pipedrive.com).
FAQ
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.
Create Pipedrive lead
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.
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.
