by Dave | activemember360
Active Member 360 web hook. This is one of those things that happens behind the scenes that you typically don’t need to know anything about. But sometimes there are certain situations that can be problematic. So let me show you what’s going on here. So really what we’re talking about is the MBR genpass capability that active numbers 360 does automatically. Now there’s the case where you didn’t want to do this manually. In my opinion, it’s especially relevant if you have an Active Campaign account that has a large number of subscribers. And the reason I say that is what will happen when this function runs, is it will try and ping your website for each contact that gets updated. Now, if you do a bulk update to all contacts in your account, you have a lot of subscribers, those information is going to get sent to your web server, what can happen is your web services, “hey, we’re getting attacked stop” and then it won’t allow that information to get pass through. And maybe you don’t need every single person to get information update. But that might block some of the important people from getting it. So that would be the good reason for having the manual update capability. I’m going to show you how to do that, that last line there. Just keep that in mind, because that’s kind of the format of a web hooks that we’re going to set up.
So let’s dive right in.
The member genpass is a great little function that Active Member360 does, what does it generates a password for contact, it does a lot of other things like pass information over with regards to the contacts tags, information like that it will also create a WordPress user, if they don’t exist. Now, that’s perfect. If somebody purchases a membership and you want to add them, they’re not already in your WordPress site, and will do just that. And it’s smart enough to realize not to override a password that’s already there, you can spell out specifically what password you want, or just let it randomly generate, I would recommend randomly generate. The other thing that it can do is you can not register a person. If you add this to the query string in the web hook that will prevent user and WordPress from being created. You can also specify what tags to apply what automation is to put them in, I usually don’t do that. And the reason I don’t, I don’t want to figure out what these numbers are. It’s kind of a pain in the butt. But I usually just pass on that and let a WordPress active member Active Campaign automation take care of that.
So let me show you what happens when you activate your active member 360 plugin. Now I’ve got it set up, I actually went in made sure we set up to the default conditions, I’m going to activate it in a minute. First, let’s go into Active Campaign and you want to go down the little gear icon, go to developer and then web hooks. And then note the web hooks. So I have nothing from this domain. This goes www.domain. So there is no web hooks in here right now. But watch what happens when I activate active member 360. See, isn’t that cool. Now that’s not the point. If I refresh this, I’m gonna to see that a web hook was automatically created. There it is right there. So what it does, and I don’t know if I can show you in here. But it’s going to send information from Active Campaign back to my go ww site, whenever a contact is added or update. So the problem can be I’ve got 100,000 contacts, and they make an update to all of them through an automation, they’re going to try and send that information to my site.
So I’d much rather not do that. So one way, a couple things to do, then in this case, is you want to go into here active member web hooks. And notice it’s already been created. So I can not enable this, I’m going to actually unable so going forward, it will not create a web hooks, so even if I deactivate this and reactivate it will not create a web hook. Secondly, I’m actually going to delete this one that was automatically created. And I’m going to handle the web hooks stuff on my own via Active Campaign automation. So back to here. The one other thing is I do need to know code. Let’s go down and look at it. Where is it security options, there is a security code right there that I need to use. OK, so now I need to create a link that uses mbr genpass, I’m going to copy this right there.
Now, I’m going to go here and create an automation, just starting from scratch. And I’m just going to leave this as its own one off automation. So you don’t start without a trigger.
Go ahead and make it active. But first, I actually have to do something I want to go to conditions and workflow web hook and then just paste that URL in there. So it needs to be your domain followed by question mbr underscore genpass equals and then the code and then go ahead and make that live. Now what you’re going to do at this point is create another automation. So for instance, when somebody makes a purchase, you want to run them through this automation that will then create them as user in WordPress if they’re not already there, and will assign a password to a custom field called passwords in their active campaign account. And then anytime you change a tag that’s appropriate for their membership, you also want to call this automation. That’s how you use active number 360 web hooks.