Button in EmailBody to update the database

I have a use case where I will send the mail for approval and it contains a approval button in the email body. Once the approver clicks the approval button present in the email body the database should  get updated automatically . Any ways to achieve it ?
1 answers

You need to implement to main things

  1. Implement the deeplink module to create a deeplink URL which will trigger a microflow. This microflow will execute the approval and database interaction.
    Mudule and documentation can be found here: https://marketplace.mendix.com/link/component/43 and https://docs.mendix.com/appstore/modules/deep-link/ 
  2. Add a button in the HTML body of the email template
    See some guidance in this forum post: https://forum.mendix.com/link/questions/111615