Append Post-processing Function

Append Post-processing function can be used in agents to append some text after our extracted field result. For example, I have this scraping agent "Copy of HTML table scraping (simple)" in my account and I want to add the country code (USA) in the City field in each row. So I can use the built-in Append Post-processing function here.

Before

Append before result

Steps

  1. Edit the scraping agent by clicking on the Edit tab
  2. Go to the field City and click on the Edit field button
  3. Now, click on the Add Post-Processing button to add the Append function, the below dialog box will appear

append function in agenty
4. Now enter the text you want to append in this field in Input parameter, as I did in screenshot above to append the USA

  1. Then Save the function and the scraping agent configuration
  2. And finally, re-run you agent to apply the function in your result.

After Append Function

If you notice the City field in screenshot below, the USA is added by the Append function.

Append after result