I want to trigger actions once a new user confirms their email; as of now, i only see "Trigger: After a user account has been created" which fires before confirmation.

Since i want to sign them up for a newsletter only after confirming their new account email, how can i make this happen?

Thanks,
m

Comments

ainigma32’s picture

Status: Active » Fixed

Write your action to be triggered after a user is updated. The action will receive the new values for the user in the $context variable and the old ones are available through the $object variable.
Write a check to make sure the old data says unconfirmed and the new data says confirmed.
If the check is true sign the user up for a newsletter.

- Arie

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.