auto_stories Bilgi Bankası chevron_right Work Flow chevron_right Makale

Approve from e-mail (Approve / Reject buttons)v5

Approve and Reject buttons can be added to the approval e-mail. The approver decides with one click from the e-mail, without signing in to Xpoda or opening the form. It works in every mail app, such as Outlook, Gmail and iPhone Mail; no add-in or extra install is needed.

The feature is an option of the Send to Approval step in a workflow. When it is off, the classic approval e-mail is sent as before.

Turning it on in Studio

  1. Open the workflow designer in Studio.
  2. Select the Send to Approval step.
  3. In the properties panel, turn on Approve / Reject buttons in e-mail.
  4. Save the project.

The step's existing mail subject and content are used as they are; the buttons are added below the content.

What the approver sees

E-mail: Each approver gets a separate e-mail. It starts with a record summary (form name, record number), then the step's mail content, and ends with the Approve and Reject buttons and an "Open in Xpoda" link.

Approval page: Selecting a button opens a small page in the browser with:

  • the record summary ("… is waiting for your approval"),
  • an optional Comment box,
  • large Approve and Reject buttons.

The decision is made when a button on this page is selected, and the result is shown as "Approved" or "Rejected". The comment is saved as the approver's comment in the flow history.

If the same link is opened later:

Message on the pageMeaning
Approved / RejectedYou already decided; your decision is shown.
This approval is completeThe step moved on with other approvers' decisions, or the flow was cancelled; no action is needed.
Invalid linkThe link expired or is wrong. You can give the approval in Xpoda.
The action failedThe decision could not be saved. Open the link again or give the approval in Xpoda.

Security

  • Each link is personal to the approver and bound only to their pending approval. Since each approver gets a separate e-mail, nobody can decide on someone else's behalf.
  • Links are valid for 7 days and contain an unguessable random code.
  • The page does not sign in to Xpoda; the approver's Xpoda browser session is not affected. The link cannot be used to sign in to Xpoda.
  • Opening the page does not decide. Mail security scanners (Microsoft Defender, Gmail and others) open links in advance; the decision is made only when a button on the page is selected.
  • The decision is refused if the approval row does not belong to the approver or is not pending, if the step is complete or if the flow was cancelled.
  • Forwarding the e-mail forwards the link too. The e-mail contains a "do not forward" note.

Requirements

  • In the Client admin panel, General Settings › Client Address must be an address the approver's device can open. For approvals from outside the company it must be reachable from the internet.
  • Approvers must have an e-mail address in their user record.
  • Mail settings must be configured (see Mail Settings).

Limits

  • If a link cannot be created, that approver gets the classic approval e-mail. If sending to one recipient fails, the others still receive theirs.
  • Reminder and escalation e-mails are still sent in the classic format for now.
  • If Not send e-mail is on for the step, no e-mail is sent.

Troubleshooting

Look for these lines in the Xpoda Service log (Logs folder, wcf-requests-*.txt files):

Log lineMeaning
Düğmeli onay maili: N bağlantı (alıcılar: …)Links were created.
Düğmeli onay maili gönderildi / gönderilemedi (adres)Send result per recipient (sent / failed).
Düğmeli onay maili gönderilmedi: …"Not send e-mail" is on for the step, or the approvers have no e-mail address.
Onay bağlantısı geçersiz: …Code not found, expired, or the flow row does not match.

Approvers who use Outlook can also give their pending approvals from the panel inside Outlook (see Outlook add-in: Setup and Outlook add-in: Usage).