Call OpenAI assistant with variable number of file IDs

Welcome to the Make community!

You can iterate the files list, and then aggregate into an array.

Then, map the file IDs into the Files field.

Screenshot_2024-03-06_150350

Don’t forget to select “Knowledge Retrieval”, otherwise the AI cannot access the files.

Screenshot_2024-03-06_150352

5 Likes