AI agent that takes in pdf and autocompletes blank spaces

I’ve been exploring this topic and would like to understand what an ideal workflow would look like for having an AI agent that: accepts a PDF uploaded by a user, extracts relevant information from it, and uses that information to auto-complete blank fields in an inline action table (e.g., in Foundry Workshop).

What steps would be recommended to implement such a flow effectively?

Thanks a lot

Cross-posting related thread