Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion fern/workflows/nodes/api-request.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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 )