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

WordPress User Updated - Wrong Old Role being sent

Your Task History ID
N/a Still building workflow.
I'm working on a task to run when a User's role changes in WordPress.

However, the `User Old Data Roles 0` is coming in with the wrong Role.

CleanShot 2024-09-09 at 15.21.20.png


Here I'm changing FROM Customer TO ARC, but when the webhook is received, I get:

CleanShot 2024-09-09 at 15.22.22.png


I am expecting the User Old Data Roles 0 to be customer there, not arc. As such, my filter to only run this when a role changes from not being ARC to being ARC is failing.
 
P

Pabblymember11

Guest
Hey @mikejandreau

Can you please elaborate more on your concern regarding how your roles are changing due to automation and the workflow in which you are testing, so that we can also perform the same steps?
 
I’m sending a User Updated webhook
In WordPress, I’m changing the role from Customer to ARC, so that I can run a workflow only in that scenario.
When the webhook is received in Pabble Connect the Old Role (which should be the role that was changed and is no longer the current role) is wrong and incorrectly includes the New role. The Role (which should be the new role) is correct.

Let me know if that helps!
 
P

Pabblymember11

Guest
Can you please share the workflow URL? A short video would also be helpful.
 

ArshilAhmad

Moderator
Staff member
The trigger used in WordPress is based on descriptive webhooks and captures whatever data the application sends to us. We do not have control over the data that WordPress sends to Pabbly Connect. Since the data is being sent this way from their end, we cannot do anything about it from our side.

You can try testing this on Webhook.site to check if the old role appears in the 'User Old Data Roles 0' field.
 
Top