Configurations
Learn how to use configurations in Laminar
1. Creating a configuration
2. Use configuration in workflow steps
{{config.<configuration_key>}}(data) => {
let transformed_data = data.step_1.response
return {
"lam.httpRequest": {
"method": "POST",
"url": "{{config.WAREHOUSE_API_URL}}/warehouse/orders",
"headers": {
"Content-Type": "application/json"
},
"body": transformed_data
}
};
}3. Execute workflow with specific configuration
Last updated
Was this helpful?