MailerLite Webhooks

MailerLite Webhooks

Warning: As of November 2020 we do not recommend relying on MailerLite webhooks for anything critical (such as creating a new WordPress user account for a customer).
Since September the webhooks system in MailerLite has been down on multiple occasions, for extended periods (up to a week). This means that your customers will not get access to your site until you manually create an account for them.
#Overview
Using webhooks with MailerLite you can create new users on your WordPress site when subscribers are added to a certain group, or automatically update existing users』 meta data and groups when changes happen in MailerLite.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting Started
The 「update」 method is very straightforward: check the checkbox next to Update Trigger, and any subscriber updates in MailerLite will automatically be synced back to WordPress.
To automatically add MailerLite subscribers as WordPress users, first create a group that designates site members. Then navigate to the Webhooks section on the General settings tab of the WP Fusion settings, and select this group from the dropdown. Now, whenever a subscriber is added to this group, they will automatically be imported as a new WordPress user.

The import group 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 MailerLite, 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 MailerLite 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 MailerLite 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 MailerLite 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

MailChimp Webhooks

MailChimp Webhooks

#Overview
You can use webhooks in MailChimp to send data back to your WordPress site using WP Fusion. Using these webhooks, you can create new users on your WordPress site, or update existing users』 meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Webhooks are managed in MailChimp by going to your list and clicking Settings >> Webhooks.
For this tutorial, we』ll be showing you how to create a new WordPress user when a contact is added to your MailChimp list. See below for additional options when constructing the URL parameters.
First, click Create New Webhook. Then enter the URL to your WordPress site, including ?wpf_action=add and your access key, like in the screenshot below.

For the triggers we』ve selected 「Subscribes」 and 「Profile Updates」.
Now, every time a subscriber joins this list, a new WordPress user will be created based on their contact data in MailChimp. If the user already exists on the site, they will be updated (no duplicate users will be created).
Since we』ve enabled 「Profile Updates」, the user in WordPress will also be updated whenever their profile is modified within MailChimp.
 
WP Fusion supports several URL methods for webhooks:
#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 MailChimp 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 MailChimp, 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 MailChimp 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 MailChimp 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 MailChimp 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

Kartra Webhooks

Kartra Webhooks

#Overview
You can use Kartra』s outbound API to send data back to your WordPress site using WP Fusion. Using these webhooks, you can create new users on your WordPress site based on rules in Kartra, or update existing users』 meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Webhooks are managed in Kartra under My Integrations >> API >> API. If you』re already logged into your Kartra 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 Kartra lead. See below for additional options when constructing the URL parameters.
First, select Yes, activate the outbound API. Then enter the URL to your WordPress site, including ?wpf_action=add and your access key, like in the screenshot below.

 
Finally, set a condition for when this API request should be sent. In this example, we』re sending the API request whenever the tag Import to WordPress is applied to a lead. Save your settings, and you』re good go go.
Now, every time the tag Import to WordPress is applied to a lead, a new WordPress user will be created based on their contact data in Kartra. If the user already exists on the site, they will be updated (no duplicate users will be created).
 
Kartra provides a wide variety of options for triggering an Outbound API call. You can send webhooks when tags are applied, when leads are added, when leads are updated, and various other 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 Kartra 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 Kartra, 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 Kartra 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 Kartra 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 Kartra 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

Jetpack CRM Automatic Imports

Jetpack CRM Automatic Imports

#Overview
Since WP Fusion connects to Jetpack CRM on the same site, it』s not necessary to configure webhooks to enable a bidirectional sync between WP Fusion and Jetpack.
Out of the box WP Fusion will:

Detect when a Jetpack CRM contact is edited, and sync those changes back to the contact』s WordPress user record (if they have one).
Detect when tags are modified on a Jetpack CRM contact record, and update the tags for their corresponding user record, including triggering any automated enrollments.

However, WP Fusion does not automatically generate a WordPress user account for all of your Jetpack contacts, as there are many situations where a contact in the CRM does not need a login to WordPress.
#Automatic imports
If you want to automatically import Jetpack CRM contacts as WordPress users, you can do so by selecting an import trigger in the WP Fusion settings.
This option is found at the bottom of the General tab in the WP Fusion settings.

You can select one or more Jetpack CRM tags in the Import Trigger setting. When any one of these tags is applied to a Jetpack contact, they will be automatically imported as a new WordPress user. The new user will be kept in sync bidirectionally with their Jetpack CRM contact record going forward.
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 Jetpack CRM, 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 Jetpack CRM 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 Jetpack CRM after it has been generated.
In the Imported Users section of the General settings tab, check the box for Return Password, and select a field in Jetpack CRM 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

Intercom Webhooks

Intercom Webhooks

#Overview
You can use webhooks in Intercom to send data back to your WordPress site when a contact』s record has been modified, or tags have been added or removed.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
To use webhooks with Intercom you first need to log into their developer portal, via this link. Then click on your 「Access Token App」.

Click on Webhooks from the left sidebar to set up the webhook.
The webhook URL should follow one of the patterns below, using either 「update_tags」, 「update」 or 「add」.

In the screenshot above, we』re sending a webhook to update WordPress whenever a user』s tags are modified or their email is updated. You could also send a webhook to register new users on your site when a new user is added in Intercom using ?wpf_action=add (see below).
You can find your access key at the bottom of the General tab in the WP Fusion settings page.
Note: Make sure to use the user topics and not contact topics.
#
#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 Intercom 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 Intercom, 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 Intercom subscriber 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 Infusionsoft 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 Intercom 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

Infusionsoft / Keap HTTP Posts

Infusionsoft / Keap HTTP Posts

#Overview
You can use HTTP Posts in Infusionsoft to send data back to your WordPress site using WP Fusion. Using HTTP Posts you can create new users on your WordPress site based on automations in Infusionsoft, or update existing users』 meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting Started
Open a campaign in the Campaign Manager (or create a new one) and create a trigger goal. For example, to trigger WP Fusion to sync a contact when a tag is applied, create an Applies A Tag goal. Then connect the goal to a campaign sequence. In the campaign sequence, add a Send HTTP Post action from the Process menu. In the Post URL field, put the URL to your website, like so:
new-http-post
There are three methods, update, update_tags and add. For each you will need to supply your access key, which can be obtained from the bottom of the General tab in the WP Fusion settings:

#To update a user』s tags
To update an existing WordPress user』s tags from the contact record, under Name / Value pairs, you should have:
contactId = ~Contact.Id~
wpf_action = update_tags
access_key = [your access key]
#To update a user』s tags and meta data
To update a user』s tags and pull any new meta data from Infusionsoft for that contact, under Name / Value pairs, you should have:
contactId = ~Contact.Id~
wpf_action = update
access_key = [your access key]
#Create a new user
Using this method, you can register a new user on your website when a contact is created in Infusionsoft. Under Name / Value pairs, you should have:
contactId = ~Contact.Id~
wpf_action = add
access_key = [your access key]
There are two additional options, which you can leave out if you don』t need them.
send_notification = true
role = subscriber
If you set send_notification to true, the user will be sent a welcome email with their username, password, and a link to log in on your site.
You can also set the role parameter to assign users a specific role on your site. By default users will be imported with the role set in the WordPress』 Settings >> General 「New User Default Role」 field, but sometimes you may want to create users with a different role depending on conditions in your campaign sequence.
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 Infusionsoft, 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 Infusionsoft 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 Infusionsoft 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 Infusionsoft 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

HubSpot Webhooks

HubSpot Webhooks

#Overview
You can use webhooks in HubSpot to send data back to your WordPress site using WP Fusion. Using these webhooks, you can create new users on your WordPress site, or update existing users』 meta data and lists.
Webhooks are available in the following HubSpot editions:

Marketing Hub Professional
Marketing Hub Enterprise
Sales Hub Enterprise

Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Webhooks are managed in HubSpot by going to Automation >> Workflows from the top navigation menu.
For this tutorial, we』ll be showing you how to create a new WordPress user when a contact is added to a specific HubSpot list. See below for additional options when configuring the workflow action.
First create a new workflow, and then add an enrollment trigger. Here we』ve set workflow to run whenever someone is added to the static list 「Membership Trial.」

Click the + symbol to add a new action to the workflow, and from the Actions panel, select Update WordPress.

A panel will appear where you can configure the webhook to your WordPress site.

In this example, we』ve set the action to Add user, and disabled the welcome email that is sent to new users.
Now, every time a contact is added to this list, a new WordPress user will be created based on their contact data in HubSpot. If the user already exists on the site, they will be updated (no duplicate users will be created).
The available options in the workflow action are:
URL to your WordPress site: This is the URL to the site where you have WP Fusion installed.
Your access key: This is the access key from the bottom of the General tab in the WP Fusion settings. This helps to secure your webhook URL.
Action: There are three options:

Update user』s lists: If a user already exists on your site for this contact, their lists will be loaded from their HubSpot contact record.
Update user』s metadata lists: If a user already exists on your site for this contact, their lists and custom field values will be loaded from their HubSpot contact record.
Add user: This will import the contact as a new WordPress user. If a user already exists with that contact ID, their lists and custom field values will be loaded from HubSpot.

Send a welcome email to new users: If your webhook action is set to Add, you can choose whether or not to send a welcome email to new users. If you select Yes, the default WordPress welcome email will be sent to any newly imported users, containing a link to reset their password.
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 HubSpot, 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 HubSpot 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 HubSpot 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 HubSpot 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

HighLevel Webhooks

HighLevel Webhooks

#Overview
You can use webhooks in HighLevel to send data back to your WordPress site using WP Fusion. Using webhooks you can create new users on your WordPress site based on automations in HighLevel, or update existing users』 meta data and tags.
There are two ways to manage webhooks in HighLevel, either via an Workflow or via a Trigger.
#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 an automation lets you easily visualize the entire automation 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 workflow gives you a lot more control and better reporting than using Trigger Webhooks (see below).
To use webhooks in a workflow, first create a workflow 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.

When the contact reaches the webhook step in the workflow,  HighLevel will notify WP Fusion to load the contact』s data from HighLevel .
#Trigger 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 HighLevel (outside of a workflow) 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 HighLevel will be given a WordPress user account.
To set up a webhook navigate to Automation » Triggers in your HighLevel account, and click Add Trigger to create a new trigger for the webhook.

Keep in mind that, because these webhooks are global to your HighLevel 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&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 HighLevel 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 HighLevel 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 HighLevel 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 HighLevel 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 HighLevel 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

Groundhogg Webhooks

Groundhogg Webhooks

#Overview
You can use webhooks in Groundhogg to sync contact data back to WP Fusion installed on another website.
Webhooks can be used to automatically import Groundhogg contacts as new WordPress users, or trigger an update of existing users』 metadata and tags.
Note: This tutorial only applies if you are using WP Fusion to connect to Groundhogg on another site, over the REST API. If WP Fusion and Groundhogg are installed on the same site, edits in Groundhogg are synced back to WP Fusion automatically (there』s no need for webhooks).
Webhooks in Groundhogg require the Advanced Features addon.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting Started
Open a funnel (or create a new one) and create a new benchmark.
For example, to trigger WP Fusion to sync a contact when a tag is applied, choose the Tag Applied benchmark. Then add a new step, add a Webhook action.

Choose GET as Method, and in the Target URL field, put the URL to your website, like so:

The values in the Params section depend on the type of webhook you want to send. See below for examples.
For each you will need to supply your access key, which can be obtained from the bottom of the General tab in the WP Fusion settings:

#To update a user』s tags
To update an existing WordPress user』s tags from the Groundhogg contact record, under Params, you should have:
contact_id = {id}
wpf_action = update_tags
access_key = [your access key]
#To update a user』s tags and meta data
To update a user』s tags and pull any new meta data from Groundhogg for that contact, under Params, you should have:
contact_id = {id}
wpf_action = update
access_key = [your access key]
#Create a new user
Using this method, you can register a new user on your website when a contact is created in Groundhogg. Under Params, you should have:
contact_id = {id}
wpf_action = add
access_key = [your access key]
There are two additional options, which you can leave out if you don』t need them.
send_notification = true
role = subscriber
If you set send_notification to true, the user will be sent a welcome email with their username, password, and a link to log in on your site.
You can also set the role parameter to assign users a specific role on your site. By default users will be imported with the role set in the WordPress』 Settings » General 「New User Default Role」 field, but sometimes you may want to create users with a different role depending on conditions in your campaign sequence.
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 Groundhogg, 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 Groundhogg 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 Groundhogg 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 Groundhogg 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

Gist Webhooks

Gist Webhooks

#Overview
You can use webhooks in Gist (with a Plus plan) to send data back to your WordPress site using WP Fusion. Using these webhooks, you can create new users on your WordPress site, or update existing users』 meta data and tags.
Having trouble receiving webhooks? Check out our troubleshooting guide.
#Getting started
Webhooks are managed in Gist by going to Settings >> Webhooks. You can create a new webhook and then specify which events should trigger it.

 
In the example above we have the webhook set to update the WordPress user whenever the contact is tagged or their details are updated in Gist. For the structure of the webhook URL see 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 Gist 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 Gist, 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 Gist 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 Gist 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 Gist 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