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
Steps
- Edit the scraping agent by clicking on the Edit tab
- Go to the field City and click on the Edit field button
- Now, click on the Add Post-Processing button to add the
Append
function, the below dialog box will appear
-
Now enter the text you want to append in this field in Input parameter, as I did in screenshot above to append the
USA
-
Then Save the function and the scraping agent configuration
-
And finally, re-run your 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.