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

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

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

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

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

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

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

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

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

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