ChatGPT - Response from a File Upload
📌 Purpose
This script mimics the functionality of Open AIs message prompts when given a file(s) to analyze and respond to
It is designed within workflows to take multiple files that match a certain regex pattern within a folder and then respond to the users prompt. The response is outputting into a text file detailing the response of each file
🚀 Script Workflow
Read specified files
Generate AI Output (Repeat if multiple files are present)
Append AI response to response text file
Save file in workspace
📤 Output Fields
LOCAL FILE NAME: The name of the text file the template will write it’s response(s) into
LOCAL FOLDER NAME (optional) : The name of the folder that the template will store the file
🧠 Features
Run the same prompt with multiple files
Commonly used file type support with .csv, .txt, .jpg, .png
🔗 Use Cases
Raw data analysis
Image analysis
Deck analysis
Email/Slack/IM message analysis
⚠️ Notes
Ensure you use the correct regex type when selecting your file
if you just want to use “equals” logic then select EXACT
File types not explicitly stated in the description may yield different results than expected
✅ Alli Workflows Best Practices
Use the supported file types
Do not use large files (4K images in large batches) as these may slow runtime and lead to timeouts