Flows Query Language (FQL) can be used to parse and transform JSON data to get the fields and structure you want.
The Record block holds formatted key-value pairs. The variable data_field
has a value of input
(input
can be selected as a value when creating the variable), which enables the formatted data to be passed into the Evaluate block and queried. In this case, customer_info
holds another record that has string values. FQL can be run in the Evaluate block to print out the values of customer_info
.
The following sections show examples of things you can do with FQL:
Not sure how to write an FQL statement for your flow? Ask Postbot! Flows has support for artificial intelligence in FQL queries. Tell Postbot what you want to do using plain language, and Postbot will generate a FQL statement for you.
In the Evaluate block, select the Postbot icon . Enter your query as a plain text sentence and select Generate FQL. Postbot will suggest a query for you based on your prompt.
To learn more about how you can use Postman's AI to help you use Flows, visit Postbot in Flows and About Postbot.
For a complete reference for all FQL functions, see the FQL function reference.
Last modified: 2024/06/05
Additional resources
Videos
Blog posts