Create a new order from an API call
Recipe Tools
What it does
When someone makes an API call to Listen for Order, this automation creates a new order in OutSystems and sends an email confirmation. The response is returned to the caller so they know the order was received.
Who it's for
Operations teams who need to create orders from external systems without manual entry.
How teams use this
Receive orders from a partner portal
A partner system calls the Listen for Order endpoint to submit orders, which are created in OutSystems and confirmed by email. The integration runs without manual steps.
Route orders to different teams by type
Add a condition to check the order type and send the confirmation email to different team addresses based on the category. Only the email routing changes.
Log orders to a data warehouse
Include a step to store order data in a data warehouse for analytics and reporting. The API and OutSystems flow stay the same.
How it works
- Listen for an order API call. Define the request and response parameters for the Listen for Order API endpoint so external systems can submit orders in real time.
- Create a new order in OutSystems. Pass the order details from the API call to OutSystems so the order is recorded in the system of record.
- Send an email confirmation. Send an email with the order details to the relevant team so they have a record of what was submitted.
- Return the response. Send the response back to the caller so they know the order was created successfully.