diff --git a/fern/workflows/nodes/api-request.mdx b/fern/workflows/nodes/api-request.mdx index fb69f1e2c..81f8c41ca 100644 --- a/fern/workflows/nodes/api-request.mdx +++ b/fern/workflows/nodes/api-request.mdx @@ -22,4 +22,25 @@ The **API Request** enables your workflow to interact with external APIs. It sup ## Usage -Use the API Request to fetch information from an external API to use in your workflow, or to update information in your CRM or database. \ No newline at end of file +Use the API Request to fetch information from an external API to use in your workflow, or to update information in your CRM or database. + +Sample Json and possible Key* +{ + "result": "Order 123456", + "lines": 3, + "item": [ + { + "product": "A" + }, + { + "product": "B" + }, + { + "product": "C" + } + ] +} + +Key* result -> {{ orderref }} as string -> "Order 123456" +Key* lines -> {{ numberOfLines }} as number -> 3 +Key* item[1] -> {{ item2 }} as string -> "A" ( but this is not working actually so please correct syntax )