Using Zobot with ChatGPT Assistant Function to Trigger API Call (e.g., Weather Info)

Using Zobot with ChatGPT Assistant Function to Trigger API Call (e.g., Weather Info)

I am currently integrating Zobot with an OpenAI ChatGPT Assistant using function calling. The goal is to let the Assistant trigger specific API actions based on user queries — for example, fetching the current weather when a user asks, “What’s the weather like in Langkawi?”

I’d like to know:

  1. Is there a recommended way within Zobot or SalesIQ to handle OpenAI Assistant function calls (e.g., get_weather) and trigger an external API call (like a Google Apps Script Web App endpoint)?

  2. Can the function arguments (such as "location": "Langkawi") be extracted and passed via Zobot custom actions or through Zoho Flow to a webhook?

  3. Once the external API (e.g., weather API) returns a response, what’s the best way to dynamically reply to the user within the same Zobot/ChatGPT conversation?

  4. Does the SalesIQ-OpenAI Assistant integration support returning function call results directly from a webhook or does it require an intermediate logic in Zoho Flow or serverless function?