# Trigger a DB update on email verification click

**URL:** <https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168>\
**Category:** Get Help\
**Tags:** auth0, verification-email\
**Created:** [October 26, 2022, 6:27pm UTC](https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168 "2022-10-26T18:27:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ab-121](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ab-121/32/33801_2.png) [@ab-121](https://community.auth0.com/u/ab-121)\
**Post date:** [October 26, 2022, 6:27pm UTC](https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168/1 "2022-10-26T18:27:34Z")

</div>

👋 everyone.

We want to update our backend when a user clicks through the email verification. I can’t find a trigger in Rules or Actions that would listen for that event, only triggers that run directly after signup. An I missing something?

Right now, Auth0’s user database carries the updated ‘email verified’ flag, but after signup I can’t sync it with our own data.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 28, 2022, 5:33pm UTC](https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168/3 "2022-10-28T17:33:05Z")

</div>

Hi @ab-121,

Welcome to the Auth0 Community!

You are correct, there isn’t a trigger for successful email verification. Fortunately, Auth0 has a feature that allows you to essentially create your own triggers for any log event; [Log Streams](https://auth0.com/docs/customize/log-streams).

You can use a log stream to create your own event driven trigger in AWS or another service of your choosing. For example, you can have AWS event bridge trigger a Lambda function on a `sv` (successful verification) log event.

Additionally, this would be a good candidate for a [Feature Request](https://community.auth0.com/c/feedback/95).

Hope that helps!

---

<div class="post-metadata">

**Author:** ![ab-121](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ab-121/32/33801_2.png) [@ab-121](https://community.auth0.com/u/ab-121)\
**Post date:** [October 28, 2022, 10:18pm UTC](https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168/4 "2022-10-28T22:18:30Z")

</div>

Thanks @dan.woda! If does help! Sounds a little more involved, but it is a solution. Is there an example or a documentation you can point me to?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 28, 2022, 11:05pm UTC](https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168/5 "2022-10-28T23:05:10Z")

</div>

This example gets you part of the way there. If you have specific questions let me know:

> **[Visualize user behavior with Auth0 and Amazon EventBridge | Amazon Web Services](https://aws.amazon.com/blogs/compute/visualize-user-behavior-with-auth0-and-amazon-eventbridge/)**
>
> In this post, I show how to capture user events and monitor user behavior by using the Amazon EventBridge partner integration with Auth0. This enables you to gain insights to help deliver a more customized application experience for your users. Auth0...

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 11, 2022, 11:05pm UTC](https://community.auth0.com/t/trigger-a-db-update-on-email-verification-click/93168/6 "2022-11-11T23:05:37Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
