Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Deals / Deal Merge

Operation Information

Merges a pair of Pipedrive Deals.

This is a Premium Integration.

Authentication

This operation requires authentication, the details of which can be securely stored on your instance in a KeySafe Key of type API Key.

To create a key of this type:

  • In the Configuration area of your Hornbill instance, navigate to Platform Configuration > Security > KeySafe;
  • Click on the + Create New Key button;
  • On the resulting Create New Key form, choose API Key in the Type pick list;
  • Give the API Key KeySafe key a Title (this is the name / identifier for the API Key account as you will see it when using the cloud automation node in your workflows);
  • Optionally populate the Description field;
  • Populate the following fields accordingly, then click the Create Key button to create your new key:
Name Type Description
ApiKey string Authentication Key
API Endpoint string Optional API Endpoint

Tip

The API Endpoint field is not required to be populated for this integration - just an API Key for your Pipedrive account.

Revoking Access

If at any point you wish to revoke access to any of the above accounts from your Hornbill instance, just delete the relevant KeySafe key(s) from the KeySafe list.

Warning

This will revoke the rights of any existing Cloud Automation Node in your Hornbill Workflows that are using the revoked API Key account, so you will need to manage these workflows accordingly.

Input Parameters

Display Name ID Type Description Required Supported Values
Deal ID id number ID of the deal Yes None provided
Deal to merge ID mergeId number ID of the deal you want to merge with Yes None provided

Output Parameters

Display Name ID Type Description
Deal ID id number None provided
Creator User ID creator_user_id number User ID for the creator of the deal
User ID user_id number User ID for the owner of the deal
Person ID person_id number User ID for the person associated to the deal
Organization ID org_id number None provided
Stage ID stage_id number None provided
Deal Title title string None provided
Deal Value value number None provided
Currency currency string 3 character code for the currency
Add Time add_time string None provided
Update Time update_time string None provided
Stage Change Time stage_change_time string None provided
Deal Active? active boolean None provided
Deal Deleted? deleted boolean None provided
Deal Status status string None provided
Next Activity Date next_activity_date string None provided
Next Activity Time next_activity_time string None provided
Next Activity ID next_activity_id number None provided
Last Activity ID last_activity_id number None provided
Last Activity Date last_activity_date string None provided
Lost Reason lost_reason string The reason that the deal was lost
Visible To visible_to string The number of users the deal is visible to
Close Time close_time string None provided
Pipeline ID pipeline_id number None provided
Won Time won_time string None provided
First Won Time first_won_time string None provided
Lost Time lost_time string None provided
Products Count products_count number None provided
Files Count files_count number None provided
Notes COunt notes_count number None provided
Followers Count followers_count number None provided
Email Messages Count email_messages_count number None provided
Activities Count activities_count number None provided
Done Activities Count done_activities_count number None provided
Undone Activities Count undone_activities_count number None provided
Reference Activities Count reference_activities_count string None provided
Participants Count participants_count number None provided
Expected Close Date expected_close_date string None provided
Last Incoming Mail Time last_incoming_mail_time string None provided
Last Outgoing Mail Time last_outgoing_mail_time string None provided
Stage Order NR stage_order_nr number None provided
Person Name person_name string None provided
Organization Name org_name string None provided
Next Activity Subject next_activity_subject string None provided
Next Activity Type next_activity_type string None provided
Next Activity Duration next_activity_duration string None provided
Next Activity Note next_activity_note string None provided
Formatted Value formatted_value string None provided
Rotten Time rotten_time string None provided
Weighted Value weighted_value number None provided
Formatted Weighted Value formatted_weighted_value string None provided
Owner Name owner_name string None provided
CC Email cc_email string None provided
Organization Hidden org_hidden boolean None provided
Person Hidden person_hidden boolean None provided
Merge What ID merge_what_id number None provided
In This Document