• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

OpenAI file attachment

edwardzev

Member
Your Task History ID
IjU3NjUwNTZmMDYzNjA0MzM1MjZmNTUzMTUxMzE1MTZiNTQzOTBmMzAi_pc
I am trying to build workflow that is triggered by an email parser, receive attachment url (invoice - which is pdf file with open text). Fetch details from invoice using openai, and stores it in airtable or any other spreadsheet.

I built an assistant. tested it in playground and the assistant analyze quite efficiently the uploaded file and returns needed details (invoice num, sum, etc)

Step1 - trigger=>attachment url
Step2 - upload file to assistant=>file id
Step3 - create thread=> thread id
Step4 - create message with attachment - here i have a problem. i can't get message created with file id, that contains pdf file, although it is obviously uploaded since I received file id.
Step5 - create run => status queued. Wait a bit
Step6 - list messages=>I get response that indicate that the assistant didn't really checked the uploaded file.

I am aware that the easier option is to retrieve text with the help of third party pdf parser like pdf.co, but since openai assistant easily retrieve data from the open base pdf, i want to make it available through the direct uploading of the file, and not by feeding the extracted text.
 

ArshilAhmad

Moderator
Staff member
Hi @edwardzev,

In the 'Create Message' action step, please enable mapping, then map the File ID enclosed within double quotes and square brackets, and see if that fixes your issue.
1736015290620.png
 
Top