Read Text From Pdf Step

The Read Text From PDF step pulls all the text from a PDF file. You can use it to automatically get data out of documents.

How to Use Read Text From PDF

Add this step to your process to read text from a PDF file.

Step 1: Add the Read Text From PDF Step

  1. Open your process in the Robotiq.ai editor.
  2. Drag and drop the "Read Text From PDF" step into your workflow.

Step 2: Set Up Input Parameters

  1. PDF File Path: Type in the full path to the PDF file you want to read. You can use a variable you've already made or just type the path directly.
  2. Ignore Empty Lines: Pick True if you don't want blank lines in the output. Pick False to get all lines, even the empty ones.

Step 3: Set Up Output Parameters

  1. Text Destination: Give the name of an existing variable or make a new one. This variable will hold all the text pulled from the PDF.
  2. Number of Lines: Give the name of an existing variable or make a new one. This variable will hold the total number of lines found in the PDF.

Parameters Explained

Step Name (Optional)

  • A custom name for this step in your process. This helps you find the step in the editor.

PDF File Path (Required)

  • The full location of the PDF file.
  • Example: "C:\Documents\Report.pdf" or a variable like myPdfPath.
  • Use this to tell the robot which PDF to read.

Ignore Empty Lines (Required)

  • Controls if empty lines show up in the output.
  • Values: True or False.
  • Set to True to get text that's easier to read, without blank lines.

Text Destination (Required)

  • The variable that will store the text you pull out.
  • Example: pdfContent.
  • You can then use this variable in other steps, like a Set Variable Value Step.

Number of Lines (Required)

  • The variable that will store how many lines are in the PDF.
  • Example: lineCount.
  • This is helpful if you need to go through the PDF content line by line or check how long it is.

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

Was this article helpful?