• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

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