• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Creating a User from Mailerlite Sign Up in Wordpress

emma_swl

Member
Hi,

I am trying to set up a new user assigned the role 'Subscriber' in Wordpress when someone signs up to my Mailerlite newsletter so that when they try to use my first order discount code they must have subscribed.

I think I have completed this step but once I've done this I want to remove the role so they cannot use the code again. When I try and set up an Order Creation workflow using Woocommerce to use the billing email to change the role of the Wordpress user the test comes back that the password for the user is incorrect. Is there a way to bypass this please?

Thanks,
Emma
 
P

Pabblymember11

Guest
Hey @emma_swl
Please provide a brief video demonstration or a reference to where you have implemented this, including the workflow URL.
 

emma_swl

Member
Hi Supreme,

This is something new I want to implement to try and stop people using a first order discount code without subscribing. I want to set a rule that only people who have the role 'Subscriber' can use the First Order discount code.

I have created the initial workflow here: https://connect.pabbly.com/workflow...cB2dfSwEFVAICcVFfABJTUAV_VxoJOg1EDD8JV1R8BGU#

I have set the password to "mnbv" for new users although it would be helpful if I can get Wordpress to automatically send the email reset link.

Ideally the next step would be to check if this customer then places an order and change their role in Wordpress to Customer which I've done here: https://connect.pabbly.com/workflow...fBmcOGlBUVQMEd1BdAS1SUVwmWhdRKgJXX2wKVFR8VDU#

I've had to choose 'Remove Role' from the list as 'Customer' doesn't appear to be an option.

I hope this make sense, please let me know if you need more info.

Thanks,
Emma
 
P

Pabblymember11

Guest
This is something new I want to implement to try and stop people using a first order discount code without subscribing. I want to set a rule that only people who have the role 'Subscriber' can use the First Order discount code.

I have created the initial workflow here: https://connect.pabbly.com/workflow...cB2dfSwEFVAICcVFfABJTUAV_VxoJOg1EDD8JV1R8BGU#

I have set the password to "mnbv" for new users although it would be helpful if I can get Wordpress to automatically send the email reset link.
I am not sure about this part of your case whether it can be possible to achieve or not.

You might consider using the Router action step to create two separate routes based on the 'Search User' condition to determine if the user exists.
Ideally the next step would be to check if this customer then places an order and change their role in Wordpress to Customer which I've done here: https://connect.pabbly.com/workflow...fBmcOGlBUVQMEd1BdAS1SUVwmWhdRKgJXX2wKVFR8VDU#

I've had to choose 'Remove Role' from the list as 'Customer' doesn't appear to be an option.
To update the user, you need to first pass the user's ID, which you can find using the "WordPress: Search User" action step.

2024-06-25_15h55_40.png
 
Top