Hello @carlfdunckeri
You can accomplish this using Web API blocks.
Here are some community posts:
[SOLVED] Open AI API with Chat GPT 40 - Questions about Thunkable / Issues / Bugs - Community
Open AI ChatGPT - Free Templates, Designs, and Block Combinations - Community (thunkable.com)
Open Ai source ChatGPT API undefined response - Questions about Thunkable - Community