Web Page lookup

<< Click to Display Table of Contents >>

Navigation:  Message Retrieval Accounts > Reading/Receiving Messages >

Web Page lookup

ThinkAutomation can also read text from any web page. This allows you to monitor a web page and then execute a Trigger when the content changes.


Click the Web Page Lookup option on the Ribbon bar.




Click Enable HTTP Lookup option to enable Web Page Lookup.


Enter the Lookup URL. This is the full URL of the web page you want to monitor - including any query string. Click the Check button to validate the URL.


If the web site requires a login enter the Authentication type along with the User Name and Password. ThinkAutomation will then login first before requesting the URL.


Follow Redirects


Enable this option if ThinkAutomation should follow any redirects.


Assign Cleaned Text To Message Body


If this option is enabled then ThinkAutomation will strip all HTML tags from the returned page before assigning it to the message text that is used for Trigger parsing.


If HTTP Lookup Fails Set Message To Failure Result


If this option is enabled then ThinkAutomation will assign the error page text to the message body for Trigger parsing. This is useful if you want to execute a trigger when a web page lookup fails (for example, a 404 error).


When ThinkAutomation reads the web page it creates a new message with the MSG_HTML set to the HTML and the MSG_Body set to the plaint text version of the HTML if the Assign Cleaned Text To Message Body option is enabled. The message headers will contain all the HTTP headers returned by the request. The MSG_Subject will be set to be set to the page <title> tag. ThinkAutomation also creates an additional header called 'TimeTaken' - which will be set to the number of milliseconds the request took - this allows you to create Triggers based on how fast the web server responds.

ThinkAutomation © Parker Software 2016