trigger.dev
trigger.dev copied to clipboard
[TRI-726] Create support for polling triggers
Some APIs don't have webhooks, e.g. Notion, Google Sheets.
We'll need to use polling to support these. To achieve this we'll need to store the previous data and see what (if anything) has changed. We should allow triggers to only subscribe to certain types of changes (by specifying a filter and create/delete/update as well probably).
We need to add support for this on the platform side and add helper functions to the main SDK that would make doing polling easier.
Similar to this: https://nohooks.io/?ref=producthunt
From SyncLinear.com | TRI-726
I like to take this issue, but I need some guidance. If that is okay, I like to work on this Issue.
Hi @theashishmaurya,
Sorry when i created this I should have assigned this to @ericallam who is going to be building this.
Hi @theashishmaurya,
Sorry when i created this I should have assigned this to @ericallam who is going to be building this.
ohh okay, got it.