Send email when callable API receives a call

Recipe ToolsMarketing

What it does

When someone makes a call to this automation's API endpoint, it retrieves the current time and sends an email. The email confirms the call was received and includes the timestamp.

Who it's for

Operations teams who need to notify staff through email when an API endpoint is called.

How teams use this

Notify teams of API calls

Send an email each time an external system calls the API, with the exact time the call arrived. Teams stay informed without checking logs manually.

Route calls to different email recipients

Modify the email step to send to different team inboxes based on which system made the call. The timing and retrieval logic remain unchanged.

Add call details to the email

Include the caller's IP address, request parameters, or authentication details in the email body. Set up conditional logic to filter which calls generate notifications.

How it works

  1. Receive the API call. An external system or application makes a real-time call to this automation's API endpoint to start this automation.
  2. Get the current time. Retrieve the current time in the workspace timezone so the email includes when the call was received.
  3. Send email notification. Workato Service sends an email with the timestamp and call details to confirm the API request was processed successfully.