Log email responses from approvers via webhook

Developer ToolAPI IntegrationMarketingProductivitySales EnablementRecipe ToolsDatabaseUtilities

What it does

When someone sends an email response to an approval request, this automation receives it via HTTP webhook and validates required fields. It retrieves approver details from Oracle, logs the response with a timestamp, or stops the job if data is missing.

Who it's for

IT teams who need to collect and validate approval responses from email without manual data entry.

How teams use this

Validate approval data before processing

Catch incomplete responses at the webhook stage so bad data never reaches Oracle. The automation stops the job and alerts the team to resubmit with all required fields.

Route responses by approval level

Extend the validation step to check the level field and route each response to a different Oracle table based on whether it is a manager, director, or executive approval.

Notify approvers of receipt

Add a Gmail step after validation to send a confirmation email back to the approver so they know their response was received and logged.

How it works

  1. Receive approval response via webhook. An HTTP webhook receives the email response in real time with the facility request number, ID, level, approver name, and status from the incoming payload.
  2. Validate required fields are present. Check that the facility request number, ID, level, approver, and status all exist in the webhook payload. Stop the job if any field is missing.
  3. Retrieve approver details from Oracle. Query the XXAT_FAR_APPROVAL table via HTTP to fetch all approver information and contact details for the facility request.
  4. Log the response with readable timestamp. Record the approval response to the job report with a readable timestamp so the team can track when each response arrived and by whom.