How to Configure API Posts to Law Ruler Using a WordPress Site Follow
Step-by-Step Tutorial for Integrating Your WordPress Site Forms with Law Ruler
⚠️ This process requires a 3rd party plugin provided by WordPress that currently only supports Contact Form 7 (CF7) and Gravity Forms (GF). If you are using a different type of form, it is recommended to either migrate to CF7 or GF or consult with our support team on other available options for integration.
What is Needed To Get Started?
To get started, you will need to have the following:
- Contact Form 7 or Gravity Forms
- 3rd Party Integration Plugin
- Law Ruler API Guide
- Endpoint URL for Law Ruler Portal
- API Key
How to Install 3rd Party Integration Plugin
- Inside of WordPress, navigate to Plugins -> Add New and search for "Forms - 3rd Party Integration" to add this plugin.
- Navigate to Plugins -> Installed Plugins and activate the 3rd party plugin.
How to Obtain Endpoint URL and API Key
Both the endpoint URL and API key for your Law Ruler portal can be found directly from inside of your portal.
Inside of Law Ruler, navigate to Setup -> 3rd Party Integrations
⚠️You must be administrative user in the portal to access this page
The information for the endpoint URL and API key can be found in the Vendor Email Template on the right-hand side of the screen.
How to Configure the Integration
- Inside of WordPress, click on Contact -> 3rdparty Services
- Under “Global Values”, enter in your email address so you can see what is happening with your integration. WordPress will break everything down for you in an email so you can see why your lead submission succeeded or failed.
In addition, make sure “Debug Mode” is selected. - Click on the “+” button next to “3rd-Party Service”
- Rename the service to something meaningful, i.e. Law Ruler API Integration
- For submission URL, enter in the endpoint URL for your portal. Your URL should always be in this format: https://domainname.lawruler.com/LawRuler-Parsing.aspx?
- Select the forms for the integration
- Map the fields from your specific contact form to the corresponding Law Ruler fields per our API Guide.
Example Configuration:⚠️ Any fields that don’t pull data from the form, are passed by value. Therefore, for fields such as “Key”, “Lead Provider”, “Case Type”, etc., check the box “Is Value?”, enter the value that should be passed under “Form Submission Field”, and enter the parameter name under “3rd-Party Field” based on our API Guide.
- Click Save at the bottom of the page to save your configuration.
Testing
It is recommend to test your integration after configuration, to ensure your leads are being created correctly.
- In step 1 above, Debug Mode was enabled. Therefore, every submission you make will trigger an email to the email address added with details regarding the submission. These details will be helpful to determine why a failure occurred, if applicable, to assist you with modifying your integration.
- Once you confirm the API post is successful and correct, it is recommended to delete the email address under “Global Values” and uncheck “Debug Mode”. This will prevent any future email notifications as form submissions are done.
Support/Assistance
If you need further assistance with your Law Ruler system, then please contact Law Ruler Support.
Aside from Law Ruler, all other trademarks, trade names, screenshots, or company names referenced herein are used for identification purposes only and are the property of their respective owners.
🤗 Thank you very much for choosing Law Ruler!
Aside from Law Ruler, all other trademarks, trade names, screenshots, or company names referenced herein are used for identification purposes only and are the property of their respective owners.