Filtering New Items from Hourly Webhook Data

Status
Not open for further replies.

sachinkt

Member
Hello, I get a list of items in an array like [A, B, C] from a Webhook every hour, which I use in my app. After an hour, the Webhook received a new array list like [A, B, C, D, E]. I've already used [A, B, C] and now I just need to get [D, E] How can I do this?
 

Fagun Shah

Well-known member
You can try using code module, but TBH this is a bad way to implement webhook functionality in trigger app.

Ask trigger app developer to develop proper webhook functionality which only sends new data and immediately not every 1-hour.

Else they need to give you API Endpoint where you can GET all new data for last 1-hour.
 

sachinkt

Member
I am trying to do it with the code module and it is partially done. Out of 4 steps - 3 are done. The only issue is where I can store the previously received data.

  1. Receives data from a webhook - DONE
  2. Stores the previously received data. - PENDING
  3. Compares the new data with the old data - DONE
  4. Extract the new elements that weren't in the previous data - DONE
 

Himesh

Active member
You can store previous data with Variable by Pabbly Connect. Please refer this video, "
"
 
Status
Not open for further replies.
Top