Is it possible to create a zap to update the user role of a wordpress user? for example, from customer to subscriber?
Hey there
There isn’t any “Update User” action for the WordPress app currently that would allow you to update the user’s role. There is an existing feature request open for this though so I’ve gone ahead and added your vote to that.
I can’t give any estimates on when that functionality will be added to the WordPress app but we’ll be sure to email you as soon as it is!
In the meantime, it looks like it should be possible to update a user via the WordPress API (See https://developer.wordpress.org/rest-api/reference/users/#update-a-user for more details). So I’m thinking that you could potentially use the WordPress API Request (Beta) action to do that. It’s a more advanced feature than the rest of the WordPress actions so it’s a bit different in terms of how you’ve go about setting it up. But if you’re interested in giving it a try you can find out more details on how to set it up here: Set up an API request action.
Hope that helps!
i’m not a developer, so not sure i can figure that out without an example
Hi there, no worries - I definitely hear you. API Requests is a beta feature and are a little more of an advanced approach as Sam mentioned. If you are curious in learning this is a great free resource here: An introduction to API’s.
The link Sam shared (Set up an API request action) also has some steps to follow as well.
If you’d rather not fuss though you can look into hiring a Zapier Expert to take this on for you.
Thanks again for raising this here! We’ll be sure to let you know if this feature is implemented.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.