{% upvotes %}
< Back to all Ideas
Planned
{% getProductAreaName(c_productArea) %}
Indicate Whether a Streamed Record is Result of an Update or Newly Created Entity/Record
DJ Corbett
May 23, 2022
Describe your Idea

It would be helpful to be able to determine in Streams, and therefore in Streams Webhooks, whether a streamed record is a result of an update or a newly created record.

I'm hoping to setup a webhook that invokes a function only when a new entity is created.

Is there a current workaround?

The closest workaround I've come up with is only including the Entity ID field in the field definition of the Streams endpoint; this ensures editing any other field on an existing entity wouldn't trigger the function. That being said, I'm curious if there is way to specify only new entities as the Streams Webhook trigger.

{% getProductAreaName(c_productArea) %}
{% upvotes %}
Comments ({% comments ? comments.length : 0 %})
{% comment.author %}
{% comment.timestamp %}
New Comment
Create New Idea
Check for Duplicates
Input Information
loading
Your idea is being created! It will show up on the Ideas Board soon, where you can filter for it by sorting on 'My Ideas'. In the meantime, we'll redirect you back to the board.
New Idea
{% inputMobileTitle() %}
Check for Duplicates
Compare your idea with similar ideas:
By submitting an idea, you agree that all the submissions are subject to the Hitchhikers Program and Site Terms
By submitting an idea, you agree that all submissions are subject to the Hitchhikers Program and Site Terms
Must fill out all fields before continuing
There was an error submitting, please try again
Please contact us at hitchhikers-support@yext.com for additional assistance