• 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.

Router Step Help WP & Learndash Integration

Jeff

Member
I am trying to build an automation that will create a Wordpress user with a special custom role and enroll the customer in some Learndash courses. The purchase goes through in Thrivecart but the user was not added and therefore no one is enrolled in the courses. Previously when I wasn't using the router, the user was created with the custom fields but now it has stopped working since I implemented the router. I am using the router because I have two products and the workflow will have to change a bit based on which product is purchased. Please help me figure out why the router related steps are not working. I have included the url to the workflow below.

 
P

Pabblymember11

Guest
Hey @Jeff

We looked into your workflow and it seems like you haven't corrected the credentials of as we mentioned before. And that's why your users were not created in WordPress.

Although we have corrected the credentials ( Base URL ) and now it is working properly. Now please try again by mapping the values as per your concern -

2021-08-04_12h11_54.png


Moreover, we have corrected Learndash's Action steps in your router module. And it also seems like you haven't captured the webhook response of ThriveCart Trigger. Kindly capture it again and remap the values in the WordPress Action Step.
 

Jeff

Member
Hey @Jeff

We looked into your workflow and it seems like you haven't corrected the credentials of as we mentioned before. And that's why your users were not created in WordPress.

Although we have corrected the credentials ( Base URL ) and now it is working properly. Now please try again by mapping the values as per your concern -

View attachment 2601

Moreover, we have corrected Learndash's Action steps in your router module. And it also seems like you haven't captured the webhook response of ThriveCart Trigger. Kindly capture it again and remap the values in the WordPress Action Step.
I noticed you added the Search WP User action for the Learndash module before the courses are added. I checked the other side of the router. After testing it, I see that is works without this step (Search WP User). Is this needed (and if so, why) when the courses can be added without this step?
 
P

Pabblymember11

Guest
Hey @Jeff

No, you don't need to use Search WP user, it was just to test the WP in your workflow you can remove it as per your concern.
 

Jeff

Member
@Pabbly Team, does the Register New User action use the standard Wordpress user_register hook? I'm wondering if I could use the Register New User actions instead of the Create User action but it has to use the standard Wordpress user_register hook to work with my password policy plugin. Please let me know. Any thoughts @Supreme Verma
 
Last edited:
P

Pabblymember11

Guest
Hey @Jeff
does the Register New User action use the standard Wordpress user_register hook?
Yes, WordPress uses the standard user_regisser hook.
I'm wondering if I could use the Register New User actions instead of the Create User action
We crossed checked the possibility of this but unfortunately, we couldn't find any API for registering a new user in the WordPress documentation.

Further, as per WordPress API docs, there is only Create User API which uses the rest_insert_user hook.

For reference please check the API documentation here - https://developer.wordpress.org/reference/hooks/rest_insert_user/
 
Last edited by a moderator:
Top