Skip to main content
Best answer

Determine when the last poll date/time was


On a poll trigger, it would be useful to pass some form of parameter indicating when the last poll date was so that I can only load up records that were created within that range. Surely this exists?


My API supports pagination, but what happens when there are 10,000 records? Seems like a waste to page through everything each poll time?


What am I missing here?

Best answer by christina.dBest answer by christina.d

Hi there! I wanted to pop in and update this thread with the response provided from support in case it’s at all helpful! 🙂
 

We don't have a param like the one you reference. Instead what we usually recommend is pulling results from the past two hours. The reason for this is that it creates a buffer if something was to happen with our platform or the integrations platform. It's highly unlikely that it would take more than 2 hours for those to be resolved, so we should get any items missed while polling was disrupted.  

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

steph.n
Forum|alt.badge.img+8
  • Builder
  • 899 replies
  • June 26, 2020

Hi there @rev23dev - Thanks for the question! I’ve gone ahead and escalated this to our Support team to better assist here. Please stay tuned!


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • 2653 replies
  • Answer
  • March 15, 2022

Hi there! I wanted to pop in and update this thread with the response provided from support in case it’s at all helpful! 🙂
 

We don't have a param like the one you reference. Instead what we usually recommend is pulling results from the past two hours. The reason for this is that it creates a buffer if something was to happen with our platform or the integrations platform. It's highly unlikely that it would take more than 2 hours for those to be resolved, so we should get any items missed while polling was disrupted.