Zoho Webhooks

Zoho Webhooks

#Overview
You can use webhooks in Zoho to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on workflow rules in Zoho, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Webhooks are managed in Zoho under Setup >> Workflow Rules. If you’re already logged into your Zoho account, you should be able to access this page by following this link.
For this tutorial, we’ll be showing you how to create a new WordPress user when a specific tag is applied to a Zoho contact. See below for additional options when constructing the URL parameters.
From the Workflow Rules screen, first create a new Workflow Rule:

The module should be Contacts. You can specify a rule name and description to help organize your Workflow Rules.

The first step, When, specifies when the Workflow Rule should apply. Select “On a record action”, and choose “Field update” as in the screenshot above.
For the field to be used as the trigger, select “Tag”, and then press Done to move on to the next step.

Create a condition, so that the rule is only processed when the desired tag is applied. In this case we’re using the tag Import to WordPress. Then click Next.
For the first action, create an action to remove the tag Import to WordPress. This will stop the workflow from running multiple times on contacts who have already been imported. Then add a Webhook action:

The URL to Notify should be the URL to your WordPress site, followed by ?wpf_action=add and &access_key=ACCESSKEY, where ACCESSKEY is the access key provided at the bottom of the General Settings tab in the WP Fusion settings on your site.
Then, under URL Parameters add a parameter for contact_id, and select Contacts and Contact Id from the dropdowns to the right. This will send the contact ID of the contact to be imported. Then click Save and Associate to continue.

After setting everything up, your Workflow Rule should look like the screenshot above. Go ahead and save the Workflow Rule.
Now, every time the tag Import to WordPress is applied to a contact, a new WordPress user will be created based on their contact data in Zoho. If the user already exists on the site, they will be updated (no duplicate users will be created).
 
Zoho provides a wide variety of options for triggering a Workflow Rule. You can send webhooks when tags are applied, when contacts are added, when contacts are updated, and using date triggers. For a full list of options in structuring the webhook URL, see the sections below:
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from Zoho for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your Zoho application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Zoho contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to Zoho after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in Zoho where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

UserEngage Webhooks

UserEngage Webhooks

#Overview
You can use webhooks in UserEngage to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on rules in UserEngage, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Go to the Automations page under the Engage menu in the sidebar and create a new rule. Select a trigger for the rule, such as when a page is visited, a field is modified, or a tag is applied. In the screenshot below we’ve configured the rule to be triggered whenever the “Add User to WP” tag is applied.
You can also specify any conditions you’d like to be met, or leave this section blank.
 

Under “Actions”, choose “API Call” from the dropdown menu. Enter the URL to your site following the examples in the next sections. You can get your site’s unique access key from the bottom of the main WP Fusion settings page.
 

#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from UserEngage for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your UserEngage application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their UserEngage contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to UserEngage after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in UserEngage where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

Sendinblue Webhooks

Sendinblue Webhooks

#Overview
You can use webhooks in Sendinblue to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on rules in Sendinblue, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Global Webhooks
Global webhooks aren’t tied to a specific workflow. They run whenever any contact in your Sendinblue account is updated. These are most useful if you want to automatically sync changes to Sendinblue contacts back to WordPress.
To set up a global webhook head to Contacts » Settings » Webhooks and click Add a New Webhook. A box will appear where you can set up the webhook:

For the URL, enter the URL to your site, following the examples at the bottom of this article. Then select which events you’d like to trigger the webhook.
In the example above we’ve selected Added to a list and Updated. This means that whenever a contact is updated or added to a list in Sendinblue, these changes will be synced back to WordPress automatically.
#Webhooks in Workflows
You can use webhooks inside of a workflow when you need to send data back to WordPress at specific times, or only under certain conditions. For example you could set up a webhook to generate a new WordPress user whenever a contact is added to a specific list.
To set this up go to the Automations page in your Sendinblue account and create a new workflow. Select a trigger for the workflow, such as when a contact is added to a list, or when an attribute meets certain criteria. In the example below we’ve configured the workflow to be triggered whenever the contact is added to the “Import to WordPress” list.

Add a new action, and choose “Webhook” from the menu. Enter the URL to your site following the examples in the next sections. You can get your site’s unique access key from the bottom of the main WP Fusion settings page.

Make sure to check “I want to send contact properties to this webhook.” Now when the workflow is triggered the contact will be added to WordPress as a new user. There are several options for structuring the webhook URL, as follows:
#Webhook URL structure
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from SendInBlue for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your Sendinblue application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Sendinblue contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to Sendinblue after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in Sendinblue where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

Salesforce Outbound Messages

Salesforce Outbound Messages

#Overview
You can use workflow rules and outbound messages in Salesforce to send data back to your WordPress site using WP Fusion. Using outbound messages you can create new users on your WordPress site based on conditions in Salesforce, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
First create a Workflow in Salesforce by navigating to Setup » Process Automation » Workflow Rules.

Under Rule Criteria, specify which conditions should trigger the rule. In this example we’ve created a custom checkbox on the contact record called Sync with WordPress. This Workflow will trigger whenever a contact record is added or modified and the checkbox has been checked.
Next, under Workflow Actions, and an action of type Outbound Message.

For the Endpoint URL put the URL to your site, following the formats described below. In this example we’re using the “add” method. Save and activate your workflow.
Now when a contact is created or modified and the “Sync with WordPress” checkbox is checked, a new WordPress user will be created based on the contact record. If a WordPress user already exists, it will be updated with the latest data from Salesforce.
There are a few options for the webhook URL:
 
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from Salesforce for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in Salesforce, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Salesforce contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to Salesforce after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in Salesforce where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

PulseTechnologyCRM Webhooks

PulseTechnologyCRM Webhooks

#Overview
You can use webhooks in PulseTechnologyCRM to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on workflow rules in PulseTechnologyCRM, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
There are two ways to manage webhooks in PulseTechnologyCRM, either via a Workflows or in the Webhooks Settings.
#Workflow Method
(Recommended) The workflow method is best if you need to send a webhook to create or update a WordPress user as part of a specific process. For example:

Tag “Website Access” is added
Send webhook to create WordPress user
Send welcome email
Wait 3 days
Apply tag “Unlock Course Two”
Send webhook to update tags

Using a webhook in a workflow lets you easily visualize the entire flow, and see where individual contacts are in the process.

You’ll also be able to visualize where a single contact is in the workflow, when the webhook was sent, and whether or not it was received successfully. Using webhooks in automations gives you a lot more control and better reporting than using Global Webhooks (see below).
To use webhooks in a workflow, first create a workflow at Admin » Workflows and add a webhook to it,  like in the example above. You have three options for the webhook, update, update_tags and add (explained below). For each you will need to supply your access key, which can be obtained from the main panel in your WP Fusion settings.
For this tutorial, we’ll be showing you how to create a new WordPress user when a specific tag is applied to a PulseTechnologyCRM contact. See below for additional options when constructing the URL parameters.
From the Workflow screen, first create a new Workflow Trigger:


The next step is to create a new Sequence, and within the Sequence, create a Step:

The URL should be the URL to your WordPress site, followed by ?wpf_action=add and &access_key=ACCESSKEY, where ACCESSKEY is the access key provided at the bottom of the General Settings tab in the WP Fusion settings on your site.
Now go back to the Workflow screen, go to the Sequences section below, and add the HTTP Post Sequence you’ve created.

After setting everything up, your Workflow should look like the screenshot above. Go ahead and save the Workflow.
Now, every time the tag Import to WordPress  is applied to a contact, a new WordPress user will be created based on their contact data in PulseTechnologyCRM. If the user already exists on the site, they will be updated (no duplicate users will be created).
#Global Webhooks Method
(Advanced) You can also set up webhooks which are global to your account. This is best if you’re manually editing contact records in PulseTechnologyCRM (outside of an automation) and need these changes synced to WordPress.
Note: It’s not recommended to set up global webhooks with the add method, as then every contact in PulseTechnologyCRM will be given a WordPress user account.
To set up a webhook navigate to Tools » Webhooks, and click Add to create a new webhook.

Keep in mind that, because these webhooks are global to your PulseTechnologyCRM account, bulk editing contacts will trigger webhooks to be sent to your site for every edited contact, which may make your WordPress site temporarily unstable.
Note: If you’ve set up global webhooks with the update or update_tags method it’s not necessary to also include those same webhooks in automations.
#Webhook URL parameters
You can format your webhook URL in a few different ways to customize the behavior:
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from PulseTechnologyCRM for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your PulseTechnologyCRM  application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their PulseTechnologyCRM  contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to PulseTechnologyCRM after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in PulseTechnologyCRM where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

Platform.ly Webhooks

Platform.ly Webhooks

#Overview
You can use webhooks in Platform.ly to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on rules in Platform.ly, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Go to the My Automations page in your Platform.ly account and create a new automation. Select a trigger for the workflow, such as when a contact is given a tag. In the example below we’ve configured the automation to be triggered whenever a contact is tagged “Import Me”.

 
Add a new action, and choose “Ping A URL” from the Integrations tab. Enter the URL to your site following the examples in the next sections. You can get your site’s unique access key from the bottom of the main WP Fusion settings page.
 

Now when the automation is triggered the contact will be added to WordPress as a new user.
There are several options for structuring the webhook URL, as follows:
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from Platform.ly for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your Platform.ly application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Platform.ly contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to Platform.ly after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in Platform.ly where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

Ontraport Webhooks

Ontraport Webhooks

#Overview
You can use webhooks in Ontraport to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on rules in Ontraport, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Using Rules (Ontraport Pro accounts)
Go to the Rules page under the Contacts menu in the sidebar and create a new rule. Select a trigger for the rule, such as when a new contact is added, a field is modified, or a tag is applied. In the screenshot below we’ve configured the rule to be triggered whenever the “Add User to WP” tag is applied.
You can also specify any conditions you’d like to be met, or leave this section blank.
Under “Actions”, choose “Ping a URL” from the dropdown menu. Enter the URL to your site following the examples in the next sections. You can get your site’s unique access key from the bottom of the main WP Fusion settings page.

Note: The best rule triggers for webhooks are When Contact is added to a Tag or When a field is updated.
If you use the Contact is created trigger then the webhook will send as soon as you click the Add Contact button, before you’ve entered any contact details. WP Fusion will then try to import an empty contact, and this will log an error.

#Inside a Campaign (all accounts)
You can also send a webhook as part of a campaign. The syntax is the same as when using a Rule. To add a webhook to a campaign, click Add New Item and choose Send A Webhook from the Advanced pane.

For the destination URL, enter the URL to your site following the examples given below.
The rest of the fields can be left blank.

#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY&contact_id=[Contact ID]
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from Ontraport for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY&contact_id=[Contact ID]
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&contact_id=[Contact ID]
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&contact_id=[Contact ID]&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&contact_id=[Contact ID]&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your Ontraport application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Ontraport contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to Ontraport after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in Ontraport where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

NationBuilder Webhooks

NationBuilder Webhooks

#Overview
Note: Currently webhooks are not available within NationBuilder. We expect a new webhooks feature to be introduced sometime in 2021. In the meantime you can enable the Sync Tags on Login setting to load the latest data for your users each time they log in.
You can use webhooks in NationBuilder to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site when people are added in NationBuilder, or update existing users’ meta data and tags when people are modified.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Navigate to Settings » Developer » Webhooks in your NationBuilder admin.

To add a new webhook first select a trigger from the When to POST dropdown. In the example above we are sending the webhook whenever the person is changed.
Then enter the URL to your site, following the examples below:
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from NationBuilder for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your NationBuilder application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their NationBuilder person record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to NationBuilder after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in NationBuilder where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

Mautic Webhooks

Mautic Webhooks

#Overview
You can use Webhooks in Mautic to automatically send updates back to your WordPress site when a contact’s profile has been updated. You can also automatically generate new WordPress user accounts for Mautic contacts.
Having trouble receiving webhooks? Check out our troubleshooting guide.
There are two ways to set up webhooks with Mautic. Either globally, or part of a campaign:
#Global webhooks
Global webhooks apply to all contacts in Mautic. For example you can send data back to WordPress whenever any contact is updated.
Navigate to the webhook settings (accessible via the gear the the top right of your app) and create a new webhook.

 
Depending on the action you’re trying to perform, there are multiple ways to format the webhook URL. Those are explained further down this page.
#Webhooks in a campaign
You can also add a webhook node to a campaign, so that it only runs on contacts in that campaign. For example this could be used to create new WordPress users only when a contact is tagged when a specific tag.

In the URL field, enter the URL to your site, following the examples below.
For the method, select GET
Add a new row under data, the name should be contact_id, and the value is {contactfield=id}

When the contact gets to this point in the campaign, Mautic will ping your webhook URL and merge in the ID of the current contact, so that WP Fusion knows which contact to load the data for.
#Webhook methods
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from Mautic for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#To create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in Mautic, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Mautic contact record.
#User passwords
New user accounts will be created with an automatically generated password. If you’d like to use this password in your email marketing, you can send the password back to Mautic after it has been generated.
In the Webhooks section of the General settings tab, check the box for Return Password, and select a field in Mautic where the password should be stored.

After a new user is created, their automatically generated password will now be saved back to their contact record, and you can use a merge field to include it in an email. The username will be the contact’s email address.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No

Maropost Webhooks

Maropost Webhooks

#Overview
You can use webhooks in Maropost to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on rules in Maropost, or update existing users’ meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Go to the Manage Automations page by hovering over the Maropost Cloud icon in the upper left hand corner of your screen and  then select Automation from the menu. Click the blue New Journey button to create a new rule. Select a trigger for the rule, such as when a page is visited, a field is modified, or a user is added to a list.
In the screenshots below we’ve configured the rule to be triggered whenever a user is added to the “Add User to WP” list.
You can also specify any conditions you’d like to be met, or leave this section blank.

 

 
 
Under “Actions”, choose “HTTP Post” from the menu. Enter the URL to your site following the examples in the next sections. You can get your site’s unique access key from the bottom of the main WP Fusion settings page.

 
#To update a user’s tags
To update an existing WordPress user’s tags from the contact record, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update_tags&access_key=YOURACCESSKEY
#To update a user’s tags and meta data
To update a user’s tags and pull any new meta data from Maropost for that contact, the URL for the webhook should look like the following:
http://mydomain.com/?wpf_action=update&access_key=YOURACCESSKEY
#Create a new user
To create a new user, use the following URL:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY
You can also specify additional parameters in user creation. For example, to send the user a welcome email containing a link to log in on your site, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&send_notification=true
You can also specify a specific user role to be assigned to the new user. For example, to set the new user to the “customer” role, use the following:
http://mydomain.com/?wpf_action=add&access_key=YOURACCESSKEY&role=customer
Note that you have to have registered a “customer” role on your site for this to work. By default users will be assigned the role of “subscriber”.
The add method will update a user if an existing user already exists. It will not create a duplicate user.
Note: By default, user accounts will be created with their email address as the username and a randomly generated password. However, if you have created a custom username field and password field in your Maropost application, and enabled these fields in WP Fusion for sync with user_login and user_pass on your website, the new users will be given the usernames and passwords stored in their Maropost contact record.

#Was this helpful?

Let us know if you liked the post. That’s the only way we can improve.

Yes

No