Configurations
Learn about Configurations in Laminar
Last updated
Was this helpful?
Was this helpful?
(data) => {
let transformed_data = data.step_1.response
return {
"lam.httpRequest": {
"method": "POST",
"url": "{{props.WAREHOUSE_API_URL}}/warehouse/orders",
"headers": {
"Content-Type": "application/json"
},
"body": transformed_data
}
};
}# Execute workflow for Customer A
POST /workflow/execute/{workflowId}?configuration_id=123&api_key=<api_key>
{
"orderId": "12345",
"quantity": 2
}
# Execute workflow for Customer B
POST /workflow/execute/{workflowId}?configuration_id=456&api_key=<api_key>
{
"orderId": "67890",
"quantity": 1
}