How Can I Use Flow XO Bots Together With AI Tools Like Perplexity AI?

(kayoj) #1

Hello

I am learning how to create bots in Flow XO & I was wondering about connecting them with other AI services.:innocent: For eg; could a Flow XO chatbot send a user’s question to an external AI system like Perplexity AI and then return the answer back into the conversation? :thinking:This might make bots much smarter and more useful for real-time responses.

Has anyone here tried linking Flow XO with APIs that are not listed in the integrations, such as using a custom webhook?:thinking: If yes, what were the main challenges with passing user input, handling tokens, or managing context? :thinking:Any advice or simple examples would be great to see.

I know this might be an advanced topic, but it could open many new ideas for Flow XO. For reference, here’s the Flow XO Developer Guide which talks about using webhooks and APIs.:innocent: Also; I recently came across a question online about what is Perplexity AI and thought it fits perfectly with this kind of integration.

Thank you !!:slightly_smiling_face:

(Nathan Stults) #2

Hello,

We do have users that are using the Perplexity API with Flow XO flows and agents. Usually the best way to do it is to create a custom tool for your agent that makes the request to Perplexity using an HTTP task, then returns the results to the agent to compose a response.

Alternatively if you aren’t using an agent you can just get the result from perplexity and directly display the response.