Sometimes you will want to have MBR CRM installed on separate sites. For example, a subsite for your LMS (LearnDash, LifterLMS) and your main site for marketing and eCommerce.
There is an indefinite number of ways to segregate your technology, but the question becomes, ”How do I make sure they talk to each other?“
In this tutorial, I will walk you through the process of having two MBR CRM installations communicate with each other through Webhooks.
Requirements for this tutorial...
For this tutorial you will need the following:
- The Advanced Features extension. Available in all premium plans.
- Two WordPress sites with MBR CRM installed and Advanced Features active on both sites.
Let’s assume that one of your sites is reserved for Marketing and one site is reserved for an LMS like LifterLMS.
When someone signs up for your LMS site you want to inform the Marketing site that they have done so, that way you can avoid sending them emails that ask them to sign up because they’ve done so!
Throughout this tutorial, we are going to refer to the marketing site as MRKT and the LMS site as LMS for simplicity.
2. Setup your MRKT site.
Let’s walk through the steps to set up your MRKT site.
1) Create a new funnel.
You will need to create a new funnel called ”New Student from LMS“ or something to let you know that this funnel is connected to your LMS site. Use the Start from Scratch template.
2) Add relevant steps
Add the Webhook Listener benchmark as your starting step.
Next, add an Apply Tag step and add the tag “Student” tag, or any relevant tag to mark the person as having come from your LMS site.
3. Setup your LMS site.
Now we need to configure the LMS site portion.
Create a new funnel using the Start from Scratch template. Call it ”New Student“ or something similar. If you already have a funnel that starts when you get a new registrant, you can skip to the next step.
In this funnel, the only relevant step is a Webhook action step.
You will, of course, need to start the funnel somehow. For the purposes of illustration, I’m going to use a Tag Applied benchmark.
We now need to configure the Webhook action in our LMS site.
First, copy the URL from the Webhook Listener in the MKTG site.
And paste it in the Webhook Target URL setting on your LMS site.
Next, set the Content-Type to JSON.
Last, we need to choose which data to send. For this example, we will only need First, Last and Email
4. Configure the Webhook Listener on the MKTG site.
The final step is to configure the Webhook Listener benchmark we created earlier. on the MKTG site earlier.
Make sure both funnels are set to Active before continuing.
To do this, you need to send a Test Request from the Webhook action on the LMS site.
This will send a test request from the LMS site to the MKTG site.
Once you’ve done this, go back to the MKTG site and you should see that the information in the Last Request area has updated.
At this point, you can map the information to the appropriate fields in MBR CRM. Do this by clicking the Map Fields button.
5. Test it out!
You can now run yourself through your registration process on the LMS site and you should see that after a minute or two, you will be added/updated in the MKTG site with the tag Student applied.