Skip to main content

Edit deal in HubSpot

Edits deal properties in HubSpot. A HubSpot private app is required in order to use this Wrk Action.

Common use cases

  • Review Management & Responding
  • Client Reporting
  • Customer Growth & Retention
  • Customer Onboarding
  • Lead Enrichment
  • Lead Generation
  • Quote & Proposal Development

Application

  • HubSpot

Inputs (what you have)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
UsernameHubSpot Login Credentials - usernameLogin CredentialsYesuser@wrk.com
Private App access tokenThe Private App access token of your HubSpot implementation.The Private App access token can be retrieved following the steps described below:In your HubSpot account, click the settings settings icon in the main navigation bar.In the left sidebar menu, navigate to Integrations > Private App.Click View access token to display your key.The instructions on how to create a private app can be found here: https://developers.hubspot.com/docs/api/private-apps.Login CredentialsYespat-na1-13645360-0155-4eed-8c19-6dxxxxxxx63d
Hub Id / Portal IdPortal / Hub Id.To check which HubSpot account you're currently in:In the upper right, click your account name.In the dropdown menu, under your account name, you can find the account name and unique Hub ID.IntegerYes12345
Deal IDThe ID of the HubSpot Deal. Deal ID can be retrieved from Search deals in HubSpot.IntegerYes789
Field 1The name of the field to update.The internal name of the field (company property) to be updated.Here is how you can find the fields internal name:In HubSpot, click the gear icon in the top right.Select Properties from the left menuFind the attribute you want the internal name for. Click the hyperlinked field name.The HubSpot internal name is visible under the Internal Name field.TextYesDealname
Value 1Provide the value to update for "Field 1"TextYesValue1
Field 2See Field 1TextNoDealstage
Value 2Provide the value to update for "Field 2"TextNoValue2
Field 3See Field 1TextNoClosed_lost_reason
Value 3Provide the value to update for "Field 3"TextNoValue3
Field 4See Field 1TextNodeal
Value 4Provide the value to update for "Field 4"TextNoValue4
Field 5See Field 1TextNoField5
Value 5Provide the value to update for "Field 5"TextNoValue5

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NAMEDESCRIPTIONTYPEREQUIREDEXAMPLE
Deal IDDeal IDTextYes345
Updated at dateDate and time the the deal was last updatedTextYes2022-12-12T18:42:23.311Z
Deal last modification dateLast modificationTextYes2022-12-12T18:42:23.311Z
Deal pipelineDeal pipelineTextYesSales pipeline
ArchivedSpecifies whether the deal is archived or notTrue/FalseYesFalse
Deal close dateThe date that the deal is to closeDateYes2022-12-12T18:42:23.311Z
Deal assigneeThe person assigned to the dealTextYesJohn Doe
Deal nameName of the dealTextYesDeal-1
Deal amountAmount of the dealNumberYes1500.00
Deal stageStage of the dealTextYesProposal
Deal created dateDate and time when the deal was createdDateYes2022-12-12T18:42:23.311Z
Created at dateCreated dateTextYes2022-12-12T18:42:23.311Z

Outcomes

NAMEDESCRIPTION
SuccessThis status is selected if the deal was successfully edited in HubSpot, and the provided link can be used to directly access the file.
UnsuccessfulThis status is selected in the event of the following scenarios:- Failed to login

Requirements

  • HubSpot account must have an active Private App access token and it must be configured within this WrkAction.