# 💬general-chat
Zoxsis
Zoxsis·1 reply

I have an api https://fineli.fi/fineli/api/v1/foods?q=banaani where with the query parameter you can fetch nutrition information of foods (in the example banana). I would like the bot to be able to fetch for example carbs in babana which are in the result of the query, how would I achieve this, any idea?

Sahil | YourGPT
Sahil | YourGPT17/06/2025 07:42

hello @Zoxsis
You can create an intent to handle these types of queries, extract relevant entities from the message, and trigger the appropriate APIs based on the node logic. Alternatively, you can add the API call directly using the API Function in the Functions Panel.

I recommend trying the API Function → API Function option, as it’s ideal for simple fetch-and-display flows.