Select Page

Get PDF Field Extract Text

Home Automation Forum Robotic Process Automation WDG Automation Get PDF Field Extract Text

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #227650
    Anonymous
    Inactive

    In Automation Anywhere v11.3 I can get text from PDFs with PDF Integration (Extract Form Fields).  Does WDG Automation have an equivalent of Automation Anywhere Extract Form Fields?

    Thanks!

    #227651
    Anonymous
    Inactive

    You’ll find something very similar in WDG Automation under the Tools tab.  Click the Region Selector to launch the tool.

    PDF Text Extraction with Region Selector

    For object-based PDFs (text-based, as opposed to image-based/scanned PDFs) with data appearing in the same general location on each file (the equivalent of Automation Anywhere’s PDF Integration –> Extract Form Fields), click Open to browse to the PDF you want to automate.  Select Text (Image is selected by default).

    Browse for PDF and Select Text

    Once the tool loads your PDF, you should see crosshairs.  Left-click and drag your mouse to draw a box around the location from which you want to extract the text.  In the example below, the yellow part next to Employee Name represents the area from which to extract.

    TIP: Try to get the full field when selecting your extraction area.  You don’t know how much/little information will be in the field.  If you select too little on your sample PDF, your bot may end up missing some info when another PDF contains more text.

    After clicking and dragging, you’ll get a popup window similar to the one seen below (Get PDF Region Text).  Name your output variable (where you want your extracted text saved), and the other settings should be able to keep their default values (the Auto Detect and Use OCR should be off).

    Click and drag to select the area from which to extract pdf text

    Here’s an example of what happens when you go too big with your extraction box.  The green box represents where I drew my extraction area.  Notice that I slightly overlapped the text on the next line (Birmingham, MI).

    Extracting too much text

    Here’s what the bot extracted to my variable (destination1).

    Extracted PDF text displayed

    When you’re done extracting all the fields, you can close the Region Selector tool.  The tool will have created all the bot commands for you, including the Open PDF File.  (Note: Show Message Box command was added by me.)

    RPA Bot Commands created for you

    #227658
    Anonymous
    Inactive

    Thanks for the fast reply, Eric!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.