Can AI read files and PDFs?

Yes. Turn on Allow Attachment on an AI prompt and it can read a PDF or an image of up to 50 MB, for example to pull invoice details into fields.

  • Verified Nov 22, 2026
  • Classic builder
  • Tadabase AI

Yes. An AI prompt with Allow Attachment turned on can read a PDF or an image of up to 50 MB along with its text, for example to pull the vendor, date and total out of an invoice into a record's fields. Reading files is a plan feature: if your plan does not include it, the switch is not shown.

Set it up #

  1. Turn on the attachment In Automation > AI Prompts, open the prompt and set Allow Attachment to Enabled on the General tab. An ATTACHMENT_URL row appears on the Dynamic Variables tab.
  2. Add a response per value On the Response tab, click Add New Response for each value you want back, such as vendor, invoice_date and total.
  3. Send the file Where the prompt runs, for example the AI Prompt workflow action, map ATTACHMENT_URL to the record's file field, then save the responses into fields with an Update Record step.

If the file field holds several files, only the first one is sent. If the field is empty, the prompt runs without a file. A file that cannot be read fails the run with: We couldn't read the attached file. Check the link is a PDF or image under 50 MB.

To try it first, paste a file link into Attachment URL in the Test Playground. See How AI prompts work.

Was this page helpful?

Something wrong or missing on this page? Tell us.