Welcome to the Community, @Sal!
Hmm, it sounds like you’d need to use a “Find User” search action to check whether the user is already in Wordpress or not. There’s an existing feature request for that being discussed here:
So I’ve added your vote to that. I can’t make any promises on when that would be added but we’ll be sure to send you an email notification as soon as it is.
In the meantime, I was thinking you might be able to use the API Request (Beta) WordPress action to search for the user. It looks like there’s a Retrieve a User endpoint that you could make a GET request to, but that appears to require a user ID to be supplied so if you don’t have that information available from the payment gateway then that’s not going to work.
The only other workaround I can think of would be to export a list of the WordPress users to a third Party app that you can search, like Google Sheets for example. That way you could use a Lookup Spreadsheet Row (Google Sheets) action to search the spreadsheet use a filter see if the user is already on there. And if not the Zap can add a new row to the spreadsheet once it’s registered them. Do you think that approach could work?
If you give that a try and run into any issues just let us know, happy to help further!
I’ll give it a try and update you ASAP. Thanks so much
Hi there @Sal,
You are very welcome! I’m glad SamB was able to point you to the right direction. We’re glad you're willing to give the workaround a try.
We appreciate your willingness to update us as soon as possible. If you need any assistance or have any questions along the way, feel free to ask. Good luck, and we look forward to hearing back from you!