🎉  Userflow joins forces with Beamer to create all-in-one growth toolkit

Read more
blog single image
blog single image
Userflow Updates

Updated and previous attributes in webhook notifications

blog author
Sebastian Seilund

February 1, 2023

We've made an improvement to our webhooks, which enables your custom integration to track which attributes changed, and to see what the values were before.

Webhook notifications for the user.updated and group.updated topics now includes previous_attributes and updated_attributes keys in addition to the full object.

Here's a partial example of what that looks like (this is what's POSTed to your webhook subscription endpoint URL):

{
"object": "webhook_notification",
"data": {
"object": {
"id": "4738382",
"object": "user",
"attributes": {
"email": "annabelle@example.com",
"email_verified": true
}
},
"previous_attributes": {
"email_verified": false
},
"updated_attributes": {
"email_verified": true
}
},
"topic": "user.updated"
}

This is useful if you'd either like to know what an attribute was before it changed, or if you just want to know which attributes actually changed in this round. Read more in our Webhook subscriptions docs.

2 min 33 sec. read

blog single image
Userflow Updates

Updated and previous attributes in webhook notifications

blog author
Sebastian Seilund

February 1, 2023

We've made an improvement to our webhooks, which enables your custom integration to track which attributes changed, and to see what the values were before.

Webhook notifications for the user.updated and group.updated topics now includes previous_attributes and updated_attributes keys in addition to the full object.

Here's a partial example of what that looks like (this is what's POSTed to your webhook subscription endpoint URL):

{
"object": "webhook_notification",
"data": {
"object": {
"id": "4738382",
"object": "user",
"attributes": {
"email": "annabelle@example.com",
"email_verified": true
}
},
"previous_attributes": {
"email_verified": false
},
"updated_attributes": {
"email_verified": true
}
},
"topic": "user.updated"
}

This is useful if you'd either like to know what an attribute was before it changed, or if you just want to know which attributes actually changed in this round. Read more in our Webhook subscriptions docs.

2 min 33 sec. read

We've made an improvement to our webhooks, which enables your custom integration to track which attributes changed, and to see what the values were before.

Webhook notifications for the user.updated and group.updated topics now includes previous_attributes and updated_attributes keys in addition to the full object.

Here's a partial example of what that looks like (this is what's POSTed to your webhook subscription endpoint URL):

{
"object": "webhook_notification",
"data": {
"object": {
"id": "4738382",
"object": "user",
"attributes": {
"email": "annabelle@example.com",
"email_verified": true
}
},
"previous_attributes": {
"email_verified": false
},
"updated_attributes": {
"email_verified": true
}
},
"topic": "user.updated"
}

This is useful if you'd either like to know what an attribute was before it changed, or if you just want to know which attributes actually changed in this round. Read more in our Webhook subscriptions docs.

About the author

Co-Founder of Userflow

Sebastian Seilund is the co-founder and former CEO of Userflow, where he built one of the leading user onboarding platforms for SaaS companies. With experience as a software engineer at Google and having founded multiple successful software companies, including Denmark's first user-friendly accounting software, Sebastian brings deep technical expertise to discussions about product-led growth and user experience.

Effortless Onboarding,
Powerful Results

Try the most-loved user onboarding product on the market.

CASE STUDIES

All case studies
iconicon

Evocalize

a case study

How Evocalize Boosted Product Adoption and Engagement With Userflow 

Learn how
iconicon

Visma Dinero

a case study

How Visma Dinero provides 24/7 onboarding and support with in-app content and AI Assistant.

Learn how
iconicon

Iteratively

a case study

How Iteratively gives users an awesome first-time experience

Learn how
iconicon