PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.32k stars 5.27k forks source link

[BUG] No Test Event for HubSpot Trigger - New Deal Property Change #6348

Closed ambo611 closed 1 year ago

ambo611 commented 1 year ago

Describe the bug Created a trigger for when a Deal Property in HubSpot changes but there are no test events pulling through

Steps to reproduce the behavior:

  1. Add new trigger
  2. Select HubSpot app
  3. Select New Deal Property Change
  4. Choose HubSpot account
  5. Set time interval
  6. Choose Property ID
  7. Create Source
  8. Update Property value referenced in step 6 in HubSpot
  9. See error - no event found
  10. Try clicking "Try Now"
  11. See error - no event found
image

Desktop (please complete the following information):

ambo611 commented 1 year ago

Just to add some more context

vunguyenhung commented 1 year ago

Hi @ambo611, I can reproduce your issue as following:

I will add this to Pipedream prioritized backlog

ambo611 commented 1 year ago

Thank you @vunguyenhung

I just got an email saying all of my credits for the day have been used, however, there should not have been anything triggered. I looked at the source of what was said to use the credits and it was this source.

image image

vunguyenhung commented 1 year ago

I just got an email saying all of my credits for the day have been used, however, there should not have been anything triggered. I looked at the source of what was said to use the credits and it was this source.

Hi @ambo611, a credit is used every time your trigger execute (.e.g every 15 minutes) regardless the number of event emitted during that time. You can read through this document to understand Pipedream credit https://pipedream.com/docs/pricing/#credits

ambo611 commented 1 year ago

@vunguyenhung I see, does a HubSpot trigger need to be on a timer?

vunguyenhung commented 1 year ago

Yes @ambo611, for now it needs to be on a timer. You can extend the interval to 30 minutes - 1 hour in order to reduce your usage of credit

dannyroosevelt commented 1 year ago

FYI @ambo611 if your source is what's considered a "dependent" source (ie, you create it from within a workflow and it's connected to only that workflow), then you should not be charged for any of those source invocations in our new billing model.

dannyroosevelt commented 1 year ago

@ambo611 can you let me know the name of your workspace and can you send me a link to the source? I'd like to confirm the above is true in this case and there isn't some other issue.

ambo611 commented 1 year ago

@dannyroosevelt thank you! my workspace is redbeardtalent and here is the source: New Client Interview Today

ambo611 commented 1 year ago

@dannyroosevelt I believe it should be a dependent source as it is not used in any other workflow

Also, there seems to be a test event now, however, there is no actual deal information retrieved image

michelle0927 commented 1 year ago

The New Deal Property Change source appears to be working for me. @ambo611 Would you mind trying it one more time after your quota issue is resolved?

Screenshot 2023-05-11 at 3 57 28 PM
ambo611 commented 1 year ago

@michelle0927 hmm it still seems to not be pulling any events for me

michelle0927 commented 1 year ago

I noticed that New Deal Property Change wasn't paginating through all the deals, so I think it could be missing events for users with more than 50 deals. I created a new PR (https://github.com/PipedreamHQ/pipedream/pull/6441) to add pagination to it. @vunguyenhung It would be great if you could give it a quick check when you have a chance, to see if I'm on the right track.

vunguyenhung commented 1 year ago

I can confirm that the source is working for me now image

I have over 1000 deals in Hubspot, so I think the pagination has been fixed image

ambo611 commented 12 months ago

@dannyroosevelt thank you! my workspace is redbeardtalent and here is the source: New Client Interview Today

@dannyroosevelt Is this a dependent or independent source?

For reference, workspace: redbeardtalent source: New Client Interview Today Property Change

also curious about Source: New Application Shortlisted

dannyroosevelt commented 12 months ago

I see dc_BVuzaXg as dependent on our end -- can you confirm what you're seeing?

I cannot find any info for dc_PnuZgOD -- can you doublecheck that ID?