Create an account in Site B when a user interacts on Site A

AutomatorWP Webhooks can handle data between sites. That means you can fire an automation when Webhooks sends information from another site.

Note: Make sure you have downloaded, installed, and activated AutomatorWP – Webhooks on both sites. If you have not, please follow these steps.

The schema

Site A

TRIGGER
When user does something

ACTION
Send data to Site B

Site B

TRIGGER
On receive data from Site A

ACTION
Create a new account

On Site B

creating a new automation to receive data
  1. Create an Automation: AutomatorWP > Add New Automation > Anonymous > Confirm.
  2. Enter a Title for the Automation.
  3. Create a Trigger: AutomatorWP > Receive data from webhook.
  4. Click webhook button
  5. Enter the key or keys you would like to send. To create an account, you will need an email. So type email, and set its type as text.
  6. Copy the URL field that the site has generated.
  7. Save the Trigger.

On Site A

creating an action webhook sending data
  1. Create an Automation: AutomatorWP > Add New Automation > Logged-in or Anonymous > Confirm.
  2. Enter a Title for the Automation and create a Trigger (whatever you want, but it needs to catch the user’s email).
  3. Add Action > AutomatorWP > Send data to webhook.
  4. Click the webhook button.
  5. Paste the URL you have copied from Site B.
  6. Enter the key or keys you would like to send. For example, email, and in the Value field, click Tag Menu and select the tag that catches the user’s email from the Trigger.

On site B again, Action Section:

filling data to create the new user
  1. Click on New User.
  2. Fill username clicking on Tag menu > Receive data from webhook > email.
  3. Same for the email field.
  4. (Optional) Fill those fields you would like to enter and choose the action option in What to do if the user already exists > Select existing user > Field to search the user > Email
  5. Click Save
  6. Click Save & Activate

Well done! Now both sites are connected, and Site B will create new users when it receives data from the Site A.