Using the Enquiry Form Plug-in

Search for a solution

The Enquiry Form Plug-in allows you to link your website's enquiry form with your Opportunities module in accessplanit, to automatically add new Opportunities when someone completes the form, automating the boring!

The enquiry form plug-in provides your customers with a way to express their interest in your courses without having to commit to a booking, helps you to keep track of your enquiries without manually typing them up, and keeps your prospects and customers within the same platform.

You need the Opportunities module to use this functionality. Please speak to your Customer Success Manager if you are unsure if you have this module.

Why integrate?

There are two main scenarios where website enquiries work well!

  1. To provide your customers with a way to request more information about your public courses
    An enquiry form on your website let’s your customers get in touch with you to find out more, perhaps they’re unsure about whether they are qualified enough to attend the course, perhaps they have accessibility requirements, perhaps they just want to know a little more about your course! By providing an enquiry form, you give your customers the opportunity to check with you, and do not automatically lose that booking.

  2. To receive requests for bespoke, in-house course bookings
    An enquiry form on your website let’s your customers provide the detail about what course they would like running for their team, if they have any particular topics that need to be included, or anything bespoke factored in.

While an enquiry form on it’s own is a great way to capture your customers' questions and requests, by connecting your website enquiry form to your accessplanit Opportunities you can save countless admin hours and reduce the chance of human error.

  1. New customers are automatically added into your accessplanit platform
    If the person enquiring does not yet exist as a User, they will be automatically added as a User alongside their company information as a new or existing Account. Meaning your back office is adding new customers, even when you’re not!

  2. Enquiries are automatically added as Opportunities
    Each enquiry will be automatically added as a new Opportunity and linked to the enquiring customer. Ready for your team to review and feedback to them!


Example website

Here is an example website containing an enquiry form that is connected to an accessplanit platform, the structure and design of the form (i.e. the layout, the fields included and the styling) are defined by yourselves and your web team, so you can add choose what information you capture and include your own branding!

 


Setting up the Enquiry Form Plug-in

Please note that AP does not integrate well with the ‘Country’ field if 2-letter country codes are being used (I.e. US - United States)

  1. If you do not yet have an enquiry form on your website, we recommend you first take a look at the available fields to connect to in accessplanit, and design your form with these in mind.

  2. Get in touch with your accessplanit CSM with the website URLs that you intend to have the enquiry form on, so that we can whitelist them for use with the plug-in. Please ensure when providing the URL, that it is exact and contains https://

  3. Once you have created your enquiry form on your website, use the accessplanit integration script and link the options in your form to the available fields in the accessplanit platform, i.e. link your ‘First Name' option to the 'Forename’ accessplanit field.

  4. Test! Work with your training team to log a few test enquiries, to check that these feed into your accessplanit platform.

Please Note: If you’re using Wix, some components of the HTML enquiry form might not be compatible.


Enquiry fields

Once you have built the enquiry form on the website, link the options in your form to the relevant fields in accessplanit.

The following fields are available to be updated via the Enquiry Form plug-in:

User Based fields

  • Forename (mandatory)

  • Surname (mandatory)

  • Email

  • Phone

  • Mobile

  • Address

  • Town

  • County

  • Country

  • Postcode

  • MarketingOptIn (either true or false)

Company/Account Based Fields

  • CompanyName

  • CompanyEmail

  • CompanyPhone

  • CompanyAddress

  • CompanyTown

  • CompanyCounty

  • CompanyCountry

  • CompanyPostcode

  • CompanyGroupID

  • CompanyGroupName

  • IndustryName

Enquiry Based Fields

  • CourseTemplateID (the course that the customer is enquiring about)

  • Title (the name that will be given to the Opportunity)

  • AdditionalInformation (the text added into the description of the Opportunity)


Behind the scenes

When someone completes the enquiry form that you have built, the following events will happen in the linked accessplanit platform:

  1. A new User is added within accessplanit
    Unless this User already exists (based on their first name, last name and email address), a new user will be added in your accessplanit platform using the personal information supplied in the form.

  2. A new Account is added within accessplanit
    If Account details have been supplied by the person making the enquiry, a new account will be added in your accessplanit platform using the 'Company' information supplied, unless this Account already exists (based on the Account Name).

  3. The newly-created User is linked to the newly created Account
    The User created in step 1 will be given an employment record for the Account created in step 2.
    If Account details are not supplied by the user, or you do not capture them in your form, the user will be added into your holding 'Guest Account'.

  4. The Account is linked to an Industry
    If the person making the enquiry selected an Industry within the form, their new Account will be added to that Industry

  5. An new Opportunity is created:

    • The Opportunity will be owned by the 'Owner ID' company that you supply within the feed

    • The Opportunity will be given a standard label, such as “Online Enquiry”

    • The Opportunity will be mapped to the Account and User from steps 1 and 2

    • The 'Description' field against the Opportunity will be populated with the free-text supplied by the User for the 'Additional Information' field.

  6. The selected Course Template is added as an item to the Opportunity.

    • If the user has selected a Course Template for their enquiry, a new Opportunity item for that specific course will be created and linked to the new Opportunity.


Integration script

Before you begin to build your enquiry form and link it to accessplanit using the below script, please get in touch with your Customer Success Manager to whitelist your website URL, otherwise you will not be able to successfully complete the below process.

  1. Integration script

    <script src="https://yoursystemnamehere/accessplan/NetLibrary/ClientScripts/webintegration.js"></script>


    This is used to reference the accessplanit JavaScript needed to build the table.
    Please replace the yoursystemnamehere with the name of your accessplanit platform, i.e.
    <script src="https://trainingRus.accessplanit.com/accessplan/NetLibrary/ClientScripts/webintegration.js"></script>

  2. Build Options object
    In a <script> tag, build up an options object:

var courseOptions = {         ListID: 'courses',         CourseIDs: [],         CompanyID: "",         CategoryIDs: []        } var opportunityOptions = {         OwnerID: "",         Title: "Online Enquiry",         Forename: "",         Surname: "",         Email: "",         Phone: "",         Mobile: "",         Address: "",         Town: "",         County: "",         Country: "",         Postcode: "",         CompanyName: "",         CompanyEmail: "",         CompanyPhone: "",         CompanyAddress: "",         CompanyTown: "",         CompanyCounty: "",         CompanyCountry: "",         CompanyPostcode: "",         CompanyGroupID: "",         CompanyGroupName: "",         IndustryName: "",         CourseTemplateID: ""         AdditionalInformation: ""         MarketingOptIn: ""     }


Note: courseOptions is used to get courses and populate the List whose ID is passed in the ListID property.

opportunityOptions are the options which can be passed to theEnquiryManager.createOpportunityfunction as below. These options can be populated by the values in your form elements.

3. Call EnquiryManager

To populate a list with all courses call the EnquiryManager function as below:

EnquiryManager.getCourses(courseOptions);

Now after the User has selected values on your form, the opportunityOptions options object needs to be passed in to the course manager object as below:

As this is an asynchronous process, success and error call backs can be used to monitor results. The example below shows how these callbacks can be used:


Example HTML

Please note that the CompanyID and OwnerID fields are the account ID of the training provider, please speak to an Administrator for a list of the Owner IDs in use in the accessplanit platform.

 


Marketing Opt-In

The Marketing Opt-In field allows you to add in a Marketing Opt-In checkbox which, if ticked, will subscribe the user to marketing emails.

The value for this field must be passed through to accessplanit as a boolean value; true or false.

This text is fully customisable and the default state of the checkbox is up to you; however, for GDPR reasons, we recommend that this box is unchecked as default.


Enquiry Form Plugin best practice

Here are some top tips to allow you to get the most out of Opportunities added via your Enquiry Form within your accessplanit platform! 

  1. Add a filter on your Opportunities DataGrid to see all of your online enquiries
    To get quick access to the enquiries that you have received overnight, or over the weekend, we recommend setting up a standard Filter on your Opportunities DataGrid based on the standard title that your website enquiries are given.

  2. Build a Workflow to automatically notify a member of the admin team once an Opportunity has been generated
    If you would prefer to be emailed when a new enquiry comes in, you can set up a Workflow to automatically notify you or another member of your team containing the information in the enquiry.

  3. Build a Workflow to automatically let your customer know that you have received their enquiry with some expected timelines for your feedback
    This is particularly useful if you take a lot of enquiries over the weekend where your customers may not get a reply from you for a few days, an automated email gives them piece of mind that their enquiry has been logged, and sets their expectations for when you’ll be back in touch with them.


FAQs

I have entered the code into my web page, why is it not pulling the form through?

A common reason for the form not pulling through correctly is where Training Provider ID (Owner ID) has not been added correctly, please double check the CompanyID property in the courseOptions part of the script.

Another common reason is that the URL for the webpage has not been whitelisted at accessplanit, please get in touch with your Customer Success Manager to check that this has been set-up.

If both of the above are set-up correctly, please get in touch with a member of the accessplanit support team.