• Resolved mercurydan

    (@mercurydan)


    Is there a way to sync the user roles to a particular list. For instance all User Roles “Customer” go to “Newsletter” List. All “Wholesale Customer” role go to “Wholesale” List etc.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Brevo

    (@neeraj_slit)

    Hello,

    You’d have to do several syncs.

    For example, the first sync you’d select only the role “customer”, then select your Sendinblue “Newsletter” list.

    Then, you’d select only “Wholesale Customer” role and the “Wholesale” List.

    Hope this helps!

    Thread Starter mercurydan

    (@mercurydan)

    Thank you I got that working for wholesale customers. Except the last name was duplicated and now the first name is the same as the last name. Not sure what is going on there. Is there a way to delete or undo this sync? Also once i have done the sync I dont know how to do another one as the sync button is greyed out (i.e. All your users have been added to a SendinBlue list).

    Also when syncing the only fields I have available is First name, last name, Website URL and User Role. How do I add more fields on wordpress or what data (postmeta, usermeta, etc) is sendinblue plugin looking at?

    Thank you

    I’m also trying to figure out how to sync more user attributes than just First name, last name, Website URL and User Role.

    What I’ve found so far is there seems to be no way to do it right now without changing the plugin code. This code is in wp-content/plugins/mailin/page/page-home.php

    // available WordPress attributes.
    $wpAttrs = array(
    	'first_name' => __( 'First Name','sib_lang' ),
    	'last_name' => __( 'Last Name','sib_lang' ),
    	'user_url' => __( 'Website URL','sib_lang' ),
    	'roles' => __( 'User Role','sib_lang' ),
    );

    I’m going to try adding my custom user-meta to that array and see if it works. The caveat, of course, is that it’s not ideal to change the plugin code, because it’ll be wiped out whenever there’s an update.

    If there’s a better way to do it, I would like to know.

    pierredelareux

    (@pierredelareux)

    Hi @becleung,

    It is what I am trying to do : mapping fields of my WordPress users to Sendinblue.

    Did you succeed ?

    Thanks

    I want to do multiple syncs but the buttons stays inactive after doing one sync. How to enable it again?

    Found a way, need to sign out and sign in from the WordPress plug in order to enable the sync button again.

    Plugin Author Brevo

    (@neeraj_slit)

    Hello @wpmarnuc

    Could you please explain what you mean by multiple sync?

    The button gets enabled once new subscriber is added.

    Please note that signing off the account deletes integration and any associated with it data.

    All the best,
    Sendinblue team

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Sync WordPress User Role with List’ is closed to new replies.