# Drupal / WordPress User Mautic Contacts

**URL:** <https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602>\
**Category:** General Discussion\
**Created:** [February 20, 2017, 1:38pm UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602 "2017-02-20T13:38:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mauro\_Pontara](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@Mauro\_Pontara](https://forum.mautic.org/u/Mauro_Pontara)\
**Post date:** [February 20, 2017, 1:38pm UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/1 "2017-02-20T13:38:57Z")

</div>

Hi,  
  
I have a question, how to replicate or syncronize user account create into my cms platform, for exaple Drupal or Word Press with Mautic contacts?  
  
Or if it’s possible the opposite way, publish a Mautic Form and replicate users into cms for giving permission into special section of my site.  
  
Thanks

---

<div class="post-metadata">

**Author:** ![Mauro\_Pontara](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@Mauro\_Pontara](https://forum.mautic.org/u/Mauro_Pontara)\
**Post date:** [February 20, 2017, 1:38pm UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/2 "2017-02-20T13:38:57Z")

</div>

Hi,  
I have a question, how to replicate or syncronize user account create into my cms platform, for exaple Drupal or Word Press with Mautic contacts?  
Or if it’s possible the opposite way, publish a Mautic Form and replicate users into cms for giving permission into special section of my site.  
Thanks

---

<div class="post-metadata">

**Author:** ![pilot](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@pilot](https://forum.mautic.org/u/pilot)\
**Post date:** [February 20, 2017, 5:18pm UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/3 "2017-02-20T17:18:53Z")

</div>

Create a “webhook” in Mautic -\> Configuration -\>webhooks, ‘contact updated event’

For controlling access to resources you’d give to respondants of an email list, particularly if they go beyond opt-in and become buyers or paid subscribers, you’re better off with Drupal than Wordpress plugins like Optimizemember, BuddyPress, etc. It’ll just be easier in the long run… if you’re familiar with Drupal.

If you choose Drupal:

- Using Drupal “Services” module, set up an endpoint to consume the Mautic webhook event, and put this endpoint URL into the Mautic Webhook Event you’re creating.
- Use the “Rules” module (if you’re not a coder) to apply logic that determines what to do when that Mautic event comes in to Drupal with the contact data (what role to apply / access to provide.)
- Create a couple more “Rules” to set expirations on the access.

That would be the beginning of a one-directional flow from Mautic to Drupal. That would work for a basic marketing / fulfillment plan.

If you wanted bi-directional “syncing” for use cases like applying a tag, or making a segment change in Mautic as a result of that user doing something in your Drupal site, then you’d use Services with Mautic’s API.

---

<div class="post-metadata">

**Author:** ![autoize](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/autoize/32/105_2.png) [@autoize](https://forum.mautic.org/u/autoize)\
**Post date:** [February 20, 2017, 11:28pm UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/4 "2017-02-20T23:28:48Z")

</div>

Excellent answer @pilot , very clearly and succinctly explained!  
We’ll be saving this one for future reference.

---

<div class="post-metadata">

**Author:** ![Mauro\_Pontara](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@Mauro\_Pontara](https://forum.mautic.org/u/Mauro_Pontara)\
**Post date:** [February 21, 2017, 10:50am UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/5 "2017-02-21T10:50:45Z")

</div>

Thank’s i’ll try

---

<div class="post-metadata">

**Author:** ![Mauro\_Pontara](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@Mauro\_Pontara](https://forum.mautic.org/u/Mauro_Pontara)\
**Post date:** [February 21, 2017, 2:54pm UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/6 "2017-02-21T14:54:04Z")

</div>

Can you explain better the second part how to sync user from drupal to mautic?

---

<div class="post-metadata">

**Author:** ![yuusuke](https://avatars.discourse-cdn.com/v4/letter/y/59ef9b/32.png) [@yuusuke](https://forum.mautic.org/u/yuusuke)\
**Post date:** [July 26, 2017, 4:11am UTC](https://forum.mautic.org/t/drupal-wordpress-user-mautic-contacts/7602/7 "2017-07-26T04:11:58Z")

</div>

> [@20392:@Mauro Pontara](#):
>
> Can you explain better the second part how to sync user from drupal to mautic?

I also want to know how to sync.
