How to display the specific name of API Request's ...
# support
s
Hi, there. I am going to display the specific name of API Request's response value. The example of response is like this: [ { "name" : "Oliver Wilson" } ] Then how can I use this value - "name"? How do I have to make workflow for this simple test? This is VAPI call log ID: 019b0a7b-8067-7dd8-82ef-72f8382966b4 Looking forward to your advice. Thanks. Best regards.
v
To display the "name" value from your API response in a Vapi workflow, use a Conversation Node with liquid template syntax. After extracting the variable from your API Request Node, set your prompt like this:
Copy code
Say "Hello {{name}}"
This will output Hello Oliver Wilson if the API response contains
"name": "Oliver Wilson"
. Make sure the variable extraction step is configured to map the API response's "name" field to the
name
variable in your workflow. For more details, see the [Workflows quickstart documentation](https://docs.vapi.ai/workflows/quickstart). Source: - [Workflows quickstart documentation](https://docs.vapi.ai/workflows/quickstart)
s
This is very urgent. Please let me know asap. Thanks.