This topic was automatically generated from Slack. You can find the original thread here.
Hello! I am using the hubspot trigger “New Deal In Stage” (pipedream/new-deal-in-stage.mjs at master · PipedreamHQ/pipedream · GitHub ). The workflow should only run when a new deal enters a specified deal stage. However, I have noticed that the workflow runs each time a deal in this stage is modified. So it’s not only triggered when a new deal enters the deal stage, but also when a deal in this deal stage is modified. Any suggestions? I know that hubspot deals have a property that contains the datetime when a certain deal stage is entered.
I created a Pipedream Hubspot - New Deal In Stage source, and then is I added 5 deals into the desired Stage (Qualified To Buy). Running the source, I see 5 events emitted (1st and 2nd images below)
Then I updated the name of 2 deals on Hubspot and run the source again, I see no new event emitted (3rd and 4th images below)
Finally, I updated 5 more deals into the Qualified To Buy stage, and I see 5 more events emitted (5th and 6th images below)
Hi , thanks for looking into it. These are the steps to reproduce:
create a deal in hubspot and set it to the target deal stage (written acceptance in my case). In my case the deal was created 2 years ago and moved to written acceptance on 24 March 2021
create a Pipedream Hubspot - New Deal In Stage source (no events are emitted at this point yet because it’s an old deal)
do some activity in the deal (in my example I logged an email )
I have just tested your steps to reproduce to update the existing deals in the desired stage to see if there’s any event, the result is no event emitted for those existing deal for my case (I updated the name, Deal Owner, Deal Type and Priority)
Some deals were just updated via the UI (for the example I showed you I used the UI to log an email). Other deals are updated automatically via our google mail integration (for example when an email is send)
I created a new source, went to hubspot and looked for an old deal in the dealstage written acceptace, changed the name of this deal and a new event was emitted. If I do new modifications to this deal (I changed the name again) no new event is emitted. So it seems to happen only the first time an old deal is modified.