Skip to main content

Prospects

Written by Sunil Pandya

Level of Interest allows you to set up your own categories for the level of interest field on the prospect record.

Prospect Workbench Configuration

To use the Prospects Workbench, you need to set up the following:

  • Lookup Tables:

    • Market Mix Codes

    • Source of enquiry codes (and optionally Source of enquiry Categories and Source of Enquiry Areas)

    • Reasons for Buying/Move

    • Purchaser/Prospect Status

    • Action Types and Access Maintenance for the Activity Workbench

  • Events and Event Security

  • Prospect Letters for campaigns and letters to individual prospects

You may also wish to set up:

  • Prospect Captions (User-Defined Data)

  • Questionnaires

Prospect Events

Prospect Workbench Events allows you to set up the events you can run for a prospect. These include events to close or open the prospect file, to record a visit to a development, or to record an enquiry.

To set up prospect events:

  1. Go to Prospect Workbench Events.

  2. Click Add (Add Button) to add a new event.

  3. Enter a code for the new event.

  4. If the event is one that is not run manually from the Prospects Workbench but is run automatically by a process like sending a letter, tick System Generated.

  5. Select the system event. This determines the type of event you are setting up. There are six system event types:

    • CLOSE - this closes the prospect file. You should only set up one close event.

    • REOPEN - this reopens the prospect file. You should only set up one reopen event.

    • VISIT - this records a visit to a development. You could set up different types of visit event; for example, First Visit and Revisit.

    • enquiry - this records a general enquiry (one that is not recorded against a specific development). You could set up different enquiry events; for example, Telephone enquiry, Website enquiry.

    • PURCHASE - this records the purchase of a plot (usually this would be set as System Generated).

    • MEMO - this is for any other type of action, which simply records the date and comments.

  6. Enter a full description for the event. (The short description was only used in Coins ERP+plus.)

  7. If you want to allow users to run the event more than once, tick Allow Duplicates. (You will probably want to allow most prospect events to be run more than once, but if you have a "First Visit" event, you might want to prevent it being run again.)

  8. If you only want to allow the event to be run if other events have already been run, enter the codes for those events in the Previous Events field. For example, to set up a "Revisit" event that can only be run if the "First visit" has already been run, enter the code for the "First Visit" event.

  9. If you want to prevent the event if other events have already been run, enter the codes for those events in the Stop Events field.

  10. If you want to allow or prevent the event depending on whether the prospect file is closed, use the token $CLOSE. For example, if you put $CLOSE in the Previous Events field, you will only be able to run the event if the prospect file is closed.

  11. To restrict how many days before or after today users can enter for the date of the event, tick the Restrict Backdating or Restrict Forward Dating field (or both), and enter the number of days. For example, to stop users entering a date more than two days before today, set Allowable Days Backdating to 2. If both are set to 0, users will be forced to enter today's date.

  12. Enter the default comments; this is the text that will appear in the Comments field when the event is run (the user can enter different text if they want).

  13. If you want to update captions when the event is run, select the caption groups to update.

Prospect Events - configuration

Set up which users can run the event, using Prospect Event Security

To copy the comments for the event to the Notes automatically, enter the event code as one of the values of the HS parameter COMNTVIS.

Property Portal Interface

Coins ERP+ can automatically load new sales leads from property portals into Coins ERP+. These leads appear on the "To Review" tab of the prospects Workbench. Portals currently supported are Rightmove, Zoopla, New Homes for Sale, OnTheMarket and Smart New Homes.

How it works

Coins ERP+ background processes poll the property portals at regular intervals and check for any new leads. These are downloaded to the Coins ERP+ server where the contents are processed.

For each new lead a new prospect record is created in Coins ERP+. The new prospects are placed on the ‘To Review’ tab of the prospects Workbench where duplication checking can then be done.

After a CSV file or XML message has been processed, it is archived on the Coins ERP+ server.

New Homes for Sale Portal – Configuration

You can set the parameters for controlling how the property portal interfaces work using Portal Parameters.

  • The parameters NHDEVID and NHPWD are used to specify the login details for New Homes for Sale.

  • The parameter NHAPIVER lets you choose which version of the API to use. The API is basically the connection between COINS and New Homes for Sale. They recommend using v3. If you are using v3, you need to obtain an authorisation API key from NHFS and enter it in the NHAPIKEY parameter.

  • The parameter NHUSER specifies the Coins ERP+ user ID for the broker.

  • NHSRC determines the source of enquiry for the prospect record.

  • An enquiry event is created on the prospect's history; the parameter NHEVCODE determines the event code.

  • The purchaser status code on the prospect record is determined by the parameter PURUNK.

The following parameters affect all the property portals.

  • The parameter BASEDIR specifies the base directory on the Coins ERP+ server that the messages will be stored in. BASEDIR can be left blank, in which case Coins ERP+ uses the $BASE setting for the environment.

  • The parameter EMAILERR specifies the email address to which details of any errors the brokers encounter will be sent.

  • DEFKCO specifies which Coins ERP+ company the prospects are loaded into.

  • REAMOVE determines the reason for move for the prospect record.

  • PORTLOI determines the default level of interest code for new prospects loaded from the portal.

  • The purchaser status code on the prospect record is determined by the parameters PUREXCH, PURFTB, PURINV, PURNHTS, PURNMK, PUROFF, PUROMK, PURPTS and PURUNK.

  • If a new prospect registers with a different portal, and has the same email address as an existing person record, DUPEMAIL determines whether the existing person record is used instead of creating a new one.

Use New Homes for Sale Mapping to map the New Homes for Sale development ID to a Coins ERP+ development, so that you can identify the development a lead is interested in.

The interface with New Homes for Sale works as a background process on the COINS server that polls the new Homes for Sales API at regular intervals. Using Background Process Configuration, you can start and stop the process, view the log file in case of errors, and set the polling interval. The number of retires is based on the portal parameter RETRIES.

On the Market Portal – Configuration

You can set the parameters for controlling how the property portal interfaces work using Portal Parameters.

⚠️Warning: On the Market is withdrawing support for HTTP 1.0. When On the Market advises you to move off HTTP 1.0, you need to change the configuration as shown under “HTTP 1.1 or later”.

  • HTTP 1.0:

    • A third-party SSL proxy, stunnel, is needed to communicate with On the Market. See Stunnel configuration.

      Set the parameter OMWSHOST to the IP address of the host where stunnel is running, and set the parameter OMWSPORT to the port number.

  • HTTP 1.1 or later:

    • Set the parameter OMWSCURL to Y.

    • Upload the client-side certificate supplied by On the Market, using Portal Certificate Upload.

    • Set the parameter OMWSKPWD to the password for the certificate, supplied by On the Market.

    • Set the parameter OMWSDBUG to the user ID of a user who receives On the Market debug files if there are any problems with the connection. The files are saved in this user’s My Files folder.

The following parameters apply to either method of connection:

  • The parameter OMWSURL is used to specify the base URL for the request to receive email leads for a brand.

  • OMWSNID and OMWBID are used to specify the network ID and brand ID when making a request.

  • The parameter OMUSER specifies the Coins ERP+ user IDs for the broker.

  • The parameter OMWSPOLL determines the polling interval, the parameter OMWSOLAP determines the overlap period, and the parameter RETRIES determines how many times the brokers should retry loading messages if they encounter an error.

    When requesting leads from OnTheMarket, OnTheMarket suggests an overlap in the export periods for which you are requesting data. This is to minimise the loss of data due to replication lag.

    For example:

    • Call the service every 15 minutes, and always request the last 20 minutes’ worth of data. Therefore set OMWSPOLL to 15 and OMWSOLAP to 5.

    • Call the service hourly and always request the last 70 minutes’ worth of data. Therefore set OMWSPOLL to 60 and OMWSOLAP to 10 minutes.

  • OMSRC determines the source of enquiry for the prospect record.

  • An enquiry event is created on the prospect's history; the parameter OMEVCODE determines the event code.

The following parameters affect all the property portals.

  • The parameter BASEDIR specifies the base directory on the Coins ERP+ server that the messages will be stored in. BASEDIR can be left blank, in which case Coins ERP+ uses the $BASE setting for the environment.

  • The parameter EMAILERR specifies the email address to which details of any errors the brokers encounter will be sent.

  • DEFKCO specifies which Coins ERP+ company the prospects are loaded into.

  • REAMOVE determines the reason for move for the prospect record.

  • PORTLOI determines the default level of interest code for new prospects loaded from the portal.

  • The purchaser status code on the prospect record is determined by the parameters PUREXCH, PURFTB, PURINV, PURNHTS, PURNMK, PUROFF, PUROMK, PURPTS and PURUNK.

  • If a new prospect registers with a different portal, and has the same email address as an existing person record, DUPEMAIL determines whether the existing person record is used instead of creating a new one.

OnTheMarket Mapping allows you to map the OnTheMarket "Branch ID" to a Coins ERP+ company and development, so that you can identify the development a lead is interested in.

You need to enable the background process using Background Process Configuration. Tick the Required box on the OnTheMarket row. You should probably also tick the Auto box, otherwise the background process won’t automatically start when the environment is started.

A log will be created, the file name for this is $BASE/var/onthemarket/OnTheMarketWS.log. The XML received in each request to OnTheMarket will be archived to the directory $BASE/var/onthemarket/archive. You should make sure this directory has been created.

Rightmove Portal – Configuration

You can set the parameters for controlling how the property portal interfaces work using Portal Parameters.

⚠️Warning: Rightmove is withdrawing support for HTTP 1.0. When Rightmove advises you to move off HTTP 1.0, you need to change the configuration as shown under “HTTP 1.1 or later”.

  • HTTP 1.0:

    • A third-party SSL proxy, stunnel, is needed to communicate with Rightmove.

      Set the parameter RMWSHOST to the IP address of the host where stunnel is running, and set the parameter RMWSPORT to the port number.

  • HTTP 1.1 or later:

    • Set the parameter RMWSCURL to Y.

    • Upload the client-side certificate supplied by Rightmove, using Portal Certificate Upload.

    • Set the parameter RMWSKPWD to the password for the certificate, supplied by Rightmove.

    • Set the parameter RMWSDBUG to the user ID of a user who receives Rightmove debug files if there are any problems with the connection. The files are saved in this user’s My Files folder.

The following parameters apply to either method of connection:

  • The parameters RMWSURL and RMWSNID are used to specify the web service connection and login details for Rightmove.

  • The parameter RMUSER specifies the Coins ERP+ user IDs for the broker.

  • The parameter RMWSPOLL determines the polling interval, the parameter RMWSOLAP determines the overlap period, and the parameter RETRIES determines how many times the brokers should retry loading messages if they encounter an error.

    When requesting leads from Rightmove, Rightmove suggests an overlap in the export periods for which you are requesting data. This is to minimise the loss of data due to replication lag.

    For example:

    • Call the service every 15 minutes, and always request the last 20 minutes’ worth of data. Therefore set RMWSPOLL to 15 and RMWSOLAP to 5.

    • Call the service hourly and always request the last 70 minutes’ worth of data. Therefore set RMWSPOLL to 60 and RMWSOLAP to 10 minutes.

  • RMSRC determines the source of enquiry for the prospect record.

  • An enquiry event is created on the prospect's history; the parameter RMEVCODE determines the event code.

The following parameters affect all the property portals.

  • The parameter BASEDIR specifies the base directory on the Coins ERP+ server that the messages will be stored in. BASEDIR can be left blank, in which case Coins ERP+ uses the $BASE setting for the environment.

  • The parameter EMAILERR specifies the email address to which details of any errors the brokers encounter will be sent.

  • DEFKCO specifies which Coins ERP+ company the prospects are loaded into.

  • REAMOVE determines the reason for move for the prospect record.

  • PORTLOI determines the default level of interest code for new prospects loaded from the portal.

  • The purchaser status code on the prospect record is determined by the parameters PUREXCH, PURFTB, PURINV, PURNHTS, PURNMK, PUROFF, PUROMK, PURPTS and PURUNK.

  • If a new prospect registers with a different portal, and has the same email address as an existing person record, DUPEMAIL determines whether the existing person record is used instead of creating a new one.

Rightmove Mapping lets you map the Rightmove "Branch ID" to a Coins ERP+ company and development, so that you can identify the development a lead is interested in.

You need to enable the background process using Background Process Configuration. Tick the Required box on the Rightmove row. You should probably also tick the Auto box, otherwise the background process won’t automatically start when the environment is started.

Open

Uploading Development Details

You can upload development, house type and plot details to Rightmove, as well as media files such as images and floor plans. You need to upload the media files to Coins ERP+ first, using the Media tab on the development or house type records.

You also need to make sure that Market Mix Codes and Garage/Parking Codes have been updated to map them to the appropriate Rightmove codes.

The following portal parameters need to be set.

Open

RMDUDP

Development upload data provider name

The name of the person providing development files to Rightmove.

RMDUDN

Development upload developer name

The name of the developer providing development files to Rightmove.

RMDURN

Development upload region name

The name of the region used in development data uploaded to Rightmove.

RMDUFTPU

Development upload FTP site user ID

The user name to be used when uploading development files to Rightmove via FTP.

RMDUFTPP

Development upload FTP site password

The password to be used when uploading development files to Rightmove via FTP.

RMDUFTPH

Development upload FTP site host address

The IP address or host name for the site to which development files are to be uploaded at Rightmove.

RMDUFTPD

Development upload FTP remote directory

The remote directory to which development files are to be uploaded at Rightmove.

RMDUFRP

Field/event to use for forecast release price

The COINS database field or HB CRM event to use for the forecast release price in development data that is uploaded to Rightmove.

Typically, this will be one of vwb_budprice, vwb_minprice, vwb_oaprice or it will be an event code.

Smart New Homes Portal – Configuration

You can set the parameters for controlling how the property portal interfaces work using Portal Parameters.

  • The parameters SNHFTPU, SNHFTPP, SNHHOST, and SNHFTPD specify the FTP connection and login details for Smart New Homes.

  • The parameter SNHUSER specifies the Coins ERP+ user IDs for the broker.

  • The parameter POLL determines the polling interval, and the parameter RETRIES determines how many times the brokers should retry loading messages if they encounter an error.

  • SNHSRC determines the source of enquiry for the prospect record.

  • An enquiry event is created on the prospect's history; the parameter SNHEVCODE determines the event code.

The following parameters affect all the property portals.

  • The parameter BASEDIR specifies the base directory on the Coins ERP+ server that the messages will be stored in. BASEDIR can be left blank, in which case Coins ERP+ uses the $BASE setting for the environment.

  • The parameter EMAILERR specifies the email address to which details of any errors the brokers encounter will be sent.

  • DEFKCO specifies which Coins ERP+ company the prospects are loaded into.

  • REAMOVE determines the reason for move for the prospect record.

  • PORTLOI determines the default level of interest code for new prospects loaded from the portal.

  • The purchaser status code on the prospect record is determined by the parameters PUREXCH, PURFTB, PURINV, PURNHTS, PURNMK, PUROFF, PUROMK, PURPTS and PURUNK.

  • If a new prospect registers with a different portal, and has the same email address as an existing person record, DUPEMAIL determines whether the existing person record is used instead of creating a new one.

The background process hsuppsnh.p needs to be configured to run via a UNIX cron job. You can also start and stop this using Background Process Configuration.

Zoopla Portal – configuration

You can set the parameters for controlling how the property portal interfaces work using Portal Parameters.

📌Note: Zoopla is phasing out the process of retrieving leads by downloading files from an SFTP site, and replacing it with a REST API.

Parameters for SFTP connection

  • The parameters ZLSFTPU, ZLSFTPP, ZLSFTPD, and ZLSFTPH specify the SFTP connection and login details for Zoopla.

  • The parameter ZLSFTPC specifies a Unix command that is executed before the SFTP command.

Parameters for REST connection

  • The parameters ZLRESTCI and ZLRESTCS specify the REST connection and login details for Zoopla.

  • The parameter ZLRESTSO specifies the overlap in the time periods for which you are requesting data. This is to prevent the loss of leads that have been submitted but do not yet show in the API.

  • The parameter ZLDBGMFU identifies a user who will receive debug files.

  • The parameters PURTOLET and PURBNFT identify purchaser status codes to use if the property is to let and if the purchaser is not a first time buyer.

Parameters for either SFTP or REST

  • The parameter POLL determines the polling interval, and the parameter RETRIES determines how many times the brokers should retry loading messages if they encounter an error.

  • The parameter ZLUSER specifies the Coins ERP+ user IDs for the broker.

  • An enquiry event is created on the prospect's history; the parameter ZLEVCODE determines the event code.

  • ZLSRC determines the source of enquiry for the prospect record.

The following parameters affect all the property portals.

  • The parameter BASEDIR specifies the base directory on the Coins ERP+ server that the messages will be stored in. BASEDIR can be left blank, in which case Coins ERP+ uses the $BASE setting for the environment.

  • The parameter EMAILERR specifies the email address to which details of any errors the brokers encounter will be sent.

  • DEFKCO specifies which Coins ERP+ company the prospects are loaded into.

  • REAMOVE determines the reason for move for the prospect record.

  • PORTLOI determines the default level of interest code for new prospects loaded from the portal.

  • The purchaser status code on the prospect record is determined by the parameters PUREXCH, PURFTB, PURINV, PURNHTS, PURNMK, PUROFF, PUROMK, PURPTS and PURUNK.

  • If a new prospect registers with a different portal, and has the same email address as an existing person record, DUPEMAIL determines whether the existing person record is used instead of creating a new one.

Zoopla Mapping lets you map the Zoopla "Branch ID" to a Coins ERP+ company and development, so that you can identify the development a lead is interested in.

You need to enable the background process using Background Process Configuration. Tick the Required box on the Zoopla (SFTP) or Zoopla (REST) row.

  • Zoopla (SFTP) is only available if the parameter ZLHOST is set.

  • Zoopla (REST) is only available if the parameter ZLRESTCI is set.

You should probably also tick the Auto box, otherwise the background process won’t automatically start when the environment is started.

Consent for Direct Marketing - Property Portals

Rightmove

If the data consent categories are in use, the Rightmove interfaces (FTP and web service) set the categories based on the portal parameters RMCONCAT and RMCONDPA. The Rightmove feed contains a ‘DPA’ flag which indicates ‘Whether the user wishes for their data to be protected’.

  • If this is set, the consent categories on the PIW record will be set per the list of categories specified in the parameter RMCONDPA.

  • If this is not set, the categories will be set based on the parameter RMCONCAT.

For each consent category set, the source of the consent will be determined by the portal parameter RMCONSRC.

Zoopla

If the data consent categories are in use, the data consent categories to be set will be based on the portal parameter ZLCONCAT. For each consent category set, the source of the consent will be determined by the portal parameter ZLCONSRC.

Smart New Homes

If the data consent categories are in use, the data consent categories to be set will be based on the portal parameter SNHCONCAT. For each consent category set, the source of the consent will be determined by the portal parameter SNHCONSRC.

OnTheMarket

If the data consent categories are in use, the OnTheMarket interface sets the categories based on the portal parameters OMCONCAT and OMCONDPA. The OnTheMarket feed contains a ‘DPA’ flag which indicates ‘Whether the user wishes for their data to be protected’.

  • If this is set, the consent categories on the PIW record will be set per the list of categories specified in the parameter OMCONDPA.

  • If this is not set, the categories will be set based on the parameter OMCONCAT.

For each consent category set, the source of the consent will be determined by the portal parameter OMCONSRC.

New Homes for Sale

If the data consent categories are in use, the data consent categories to be set will be based on the portal parameter NHCONCAT. For each consent category set, the source of the consent will be determined by the portal parameter NHCONSRC.

Stunnel configuration

To communicate with Rightmove or OnTheMarket web services from Progress Open Edge, you need an SSL/TLS proxy, as these services use a client SSL certificate for authentication which is currently not supported in Progress OpenEdge. Stunnel is a freely available SSL/TSL proxy that works on Unix. Its architecture is optimised for security, portability, and scalability (including load-balancing), making it suitable for large deployments. Stunnel also needs the OpenSSL open source libraries to be installed as it uses this for all its cryptographic functions.

OpenSSL

  1. Download the OpenSSL libraries from the link below or your preferred repository.

  2. Copy the tar archive to /u.

  3. From here extract the archive using:

    tar zxf openssl-1.0.2h.tar.gz

    This creates a new directory openssl-1.0.2h,

  4. Then issue these commands:

    cd openssl-1.0.2h (assuming you are in /u)

    ./config shared

    Note after this you may get this message:

    *** Because of configuration changes, you MUST do the following before
    *** building:

    make depend

    In which case issue this command next: make depend

    make

    make test

    make install

Stunnel

Installation

  1. Download stunnel from the link below or your preferred repository.

    You must have installed the OpenSSL libraries before installing Stunnel.

  2. Copy the tar archive to /u,

  3. From here extract the archive using:

    tar zxf stunnel-5.34.tar.gz

    This creates a new directory stunnel-5.34.

  4. Then issue these commands:

    cd stunnel-5.34

    ./configure

    make

    make install (this must be done as root)

Configuration

The configuration of stunnel is done via a configuration file (stunnel.conf). An example is shown below:

; Optional debugging stuff (may be useful for troubleshooting)
debug = 7
output = /home/coins/stunnel.log

[rightmove-ssl-test]
client = yes
accept = 127.0.0.1:59001
connect = adfapi.adftest.rightmove.com:443
cert = /home/coins/coinsglobal.pem
key = /home/coins/coinsglobal.key

[rightmove-ssl-live]
client = yes
accept = 127.0.0.1:59011
connect = adfapi.rightmove.co.uk:443
cert = /home/coins/coinsglobal.pem
key = /home/coins/coinsglobal.key

The first section is optional debugging which is useful if you are experiencing problems with stunnel. Stunnel can run multiple SSL proxies: each proxy is given a name in [ ] brackets. In the example there are two proxies, one for Rightmove’s test system [rightmove-ssl-test] and one for their live system [rightmove-ssl-live].

You can have multiple proxies in the same configuration file. You give each one a name in [ ]. For example:

[Rightmove]
​
…
​
…
​
…
​
[OnTheMarket]
​
….
​
...
​
…

You can use any unused port number, as long as the stunnel configuration and the Coins ERP+ portal parameters (*WSHOST and *WSPORT) match up. You will need different port numbers for Rightmove and OnTheMarket.

Details of the options in each section are as follows:

Option

Details

client

Set this to yes.

accept

The IP address and port on which stunnel will accept requests from COINS. The IP would normally be 127.0.0.1 (localhost) if stunnel is running on the same server as COINS. The port is a free port number on which stunnel will listen for requests from COINS.

connect

The IP address and port to which stunnel will redirect the request from COINS. The above example shows the details for Rightmove’s test and live systems. Stunnel will set up the secure connection to this address.

cert

This is the file name of the client SSL certificate which the portal provider (Rightmove or OnTheMarket) issue you with. Use the .pem file they provide.

key

The PEM certificate is password protected with a keystore password (also issued by Rightmove or OnTheMarket). If you don’t specify this line you will need to enter this password each time you start stunnel.

Alternatively, you can generate a key file from the PEM file and specify this file here. This will remove the password prompt. To do this use the following command, but replace coinsglobal.pem with the name of the file from Rightmove or OnTheMarket:

openssl rsa -in coinsglobal.pem –out coinsglobal.key

Running

To run stunnel use the following command, but replace path_to_conf_file with the path to the stunnel.conf file:

/usr/local/bin /path_to_conf_file/stunnel.conf

If an error like the following appears when running stunnel:

/usr/local/bin/stunnel: symbol lookup error: /usr/local/bin/stunnel: undefined symbol: SSL_CONF_CTX_free

this is most likely due to an older SSL library being picked up. To resolve this, set the following environment variable before running stunnel:

LD_LIBRARY_PATH=/usr/local/ssl/lib;export LD_LIBRARY_PATH

If you have not created a key store file, you will be prompted to enter the PEM password. Enter the ‘Keystore’ password provided by Rightmove.

23192 /usr/local/bin/stunnel /home/coins/stunnel.conf
Enter PEM pass phrase:

To check stunnel is running, use the following command:

ps -ef | grep stunnel

If a stunnel process like below is shown then stunnel is running:

46592 ps -ef | grep stunnel
coins 37877 1 0 Jul14 ? 00:00:00 /usr/local/bin/stunnel /home/coins/stunnel.conf
Did this answer your question?