OpenAI or Claude Web Search

I'd like to use OpenAI 4o or Claude Sonnet 3.7 to perform web search for up-to-date generation of text (in my case research on news related to customers). I'm doing this within a Workflow.

In both cases, I start my prompt with the recommended:


You are an expert researcher...{rest of prompt}

OpenAI 4o - Managed
Gives me a very quick response of:
Please hold on while I conduct the search for current information on {client_name}. This will just take a moment.
But the workflow doesn't wait around for the rest of the prompt response...

Any suggestions on how I can "make it wait" for the second half of the OpenAI response?

Claude 3.7 - API Key
I have a Teams key configured, and have enabled Web Search (only available March 2025) as ON. But the result back clearly shows data from 2022/2023, and is not up-to-date with expected "news" for a few test clients occurring in early 2025.

Here's a toy example to reproduce the failure:

Hi there @Aaron_Patzer, and welcome to the forum!

So, I'm not completely sure about this but as you're using Retool's out of the box AI blocks, I don't think you'll be able to get the data as you're expecting it.

I found this for openAI which should be able to search the web and then provide you with a response (and a list of urls found) .

With regards to Claude, I think that web Search functionality is valid only for the Claude application, and it is not enabled for messages ran in a retool workflow (as this is basically making an API call and it is most likely using the messages endpoint under the hood

1 Like

Thanks, @MiguelOrtiz!

@Aaron_Patzer, sounds like an interesting workflow :slightly_smiling_face:

Keep an eye on our 📣 Retool Announcements - Retool Forum page, as we have some new features coming soon that I imagine could help with your project :crossed_fingers: (also see Kent's note here: AI Agents in Retool - #9 by kent)