Add Lazy Approval Button

Introduction

To streamline email responses, you can use the mailto: function to create a button that pre-populates the email body. This method generates a new email instead of replying directly, allowing quick approvals.

How does it work?

  1. You can modify the code content to generate your desired reply. Then, modify the listener content pattern in the Email Polling System Demo App so that it can read your reply.

    <a href="mailto:#appVariable.From#?subject=Re:%20#envVariable.EmailSubject#:%20Desc:%20#form.j_ave_transaction.Description#&body=Approved%0A%0A ID:%20#assignment.processId#">Approved</a>
    • #appVariable.From# represents the sender's email address.
    • #envVariable.EmailSubject#:%20Desc:%20#form.j_ave_transaction.Description# is the subject of the email.
    • Approved%0A%0A ID:%20#assignment.processId# is the body content of the email.

    Ensure to replace spaces with %20 and new lines with %0A in the subject and body fields. Use this URL encoder tool to help format your text.

  2. Update the listener content pattern in the Email Polling System Demo App to interpret and process your generated reply correctly.

Related Documentation

Created by Julieth Last modified by Aadrian on Dec 13, 2024