Skip to main content

How do you handle login credentials for new users created via incoming webhook?

Hi everyone,

We've built a purchase flow where users buy on an external WordPress
site and get access to a FluentCommunity portal on a separate install.

We use the incoming webhook to create the user and enroll them in a course.
Everything works correctly, the user is created and enrolled.

The problem is onboarding: the new user has no idea what password to use
to log in. We need to send them login credentials after account creation.

How are other people handling this?

Options we've considered:

  1. Pass user_password in the webhook and send it via welcome email, but
    it seems the password field may not be applied as expected
  2. Send a password reset link after account creation, but this feels like
    poor UX for a paid product
  3. Use FluentAuth Magic Login Link, seems like the cleanest solution but
    we'd like to understand if there's a simpler native approach first

What's the recommended flow for sending a new user their first login
access after being created via incoming webhook?

Thank you

JF

I just finished building a flow for this on my site.

  1. Webhook from payment processor used to create contact in FluentCRM and update a custom field with a dynamic value that will become the password first. In my case I'm using "order_id".
  2. A FluentCRM automation gets triggered and it creates the WP User with the password saved in the custom fileld (order_id). The FCRM Create WP User action allows you to use a custom fileld for the password.
  3. The same automation sends an email to the user with Username, Password and Login URL.

That's it. This is working for me well. I hope it helps.

Zeffiro Varga

JFΒ 
Hi, thanks for sharing your flow!

Could you tell us more about your setup? Specifically:

  • Are you using FluentCommunity on the same WordPress install as FluentCRM, or on a separate site?

  • When FluentCRM creates the WP user, does it also handle the FluentCommunity enrollment (course/space access)?

Our setup is a two-WordPress-site architecture:

  • Site A: WooCommerce + FunnelKit (handles checkout and automations)

  • Site B: FluentCommunity Pro + FluentCRM Pro (member portal)

We're using FluentCommunity's incoming webhook to create the user and enroll them in the course.

The webhook accepts user_password, but occasionally the provided password does not work and we can't figure out why.

Did you run into similar issues?

Thanks

JF

Zeffiro VargaΒ Hi!

  1. Yes, I am using FluentCommunity on the same WordPress installation as FluentCRM.
  2. Yes, FluentCRMΒ handles the FluentCommunity enrollments for course and spaces.

Here is an screenshot of the automation I am using.

I hope this helps!