Skip to content
How to automaticall...
 
Notifications
Clear all

How to automatically delete files uploaded via conversation with ChatGPT Assistants using callin.io?

2 Posts
2 Users
0 Reactions
4 Views
J_M
 J_M
(@j_m)
Posts: 1
New Member
Topic starter
 

Hi,

 

I'm using OpenAI Assistants and interacting with them through the Conversation with Assistants action in callin.io. Within these workflows, users upload files. Consequently, the files section in my OpenAI developer account becomes quite cluttered with a long list of files over time.

My understanding is that these files are not automatically removed and will incur charges if they remain, consuming storage.

I believe there's API documentation available for file deletion, but I lack the technical expertise to integrate it into my callin.io workflow. Ideally, I'd like to set it up so that after the workflow concludes, perhaps after a delay step, the files are automatically deleted.

  1. Is there a built-in step within callin.io for deleting files that I can incorporate into my workflow? That would be the perfect solution.
  2. If not, how can I implement this step myself using the provided documentation? Here it is, sourced from here:

file_deletion_status = client.beta.assistants.files.delete(
  assistant_id=assistant.id,
  file_id=file.id
)

 

Thanks in advance.

 
Posted : 04/08/2025 8:31 am
SamB
 SamB
(@samb)
Posts: 71
Trusted Member
 

Hi, happy new year! 🎉

There isn’t a “delete file” action currently for the ChatGPT app on callin.io so I’d suggest contacting our Support team to request that a new feature request be created on your behalf for that. You can get in touch with them here: https://zapier.com/app/get-help

In the meantime, since OpenAI’s API has the ability to delete a file you could try using the ChatGPT API Request (Beta) action for this. It’s a bit more advanced to set up since you’d need to reference OpenAI’s API documentation to create the request, but we have a Set up an API Request action guide that you may find helpful in getting you started.

If you run into any errors when setting that up just let us know! 

 
Posted : 02/01/2024 12:00 am
Share: