in this tutorial you will learn how you can use web hooks in integra mod so that you can receive data from any tool you want it's super duper handy so let's just dive right in and i'll explain how it works and then i also want to show you two cool examples so i just created a new scenario and the first thing that we want to do is we want to add a web hook module at the beginning because the web book module is going to be the trigger for our scenario so that when the web book is receiving data boom our scenario is going to start so you just click this module and then you type in web hook and down here we find web hooks and then you see that we have three different things we have a custom mail hook custom web hook and a web hook response we are going to need the custom web hook then down here you find a little drop down so if you have any existing web books then you can find those over there but if you do not have those yet then just click over here at and then you just give your web hook a name so this is just for your own reference i'm just going to call this one example webhook and then if you want you can also set an ib restriction if you only want certain tools to access that usually i don't really bother with that you can also set up filters or something like that so then here i click save and then you see here that we get our web book so this is our long url this is the web hook this is where tools can send data to and then you see this thing like spinning here so we can also stop it but what it is doing right now it is determining the data structure so it's waiting for data so we have to send an example and then integra mod knows what kind of data it is receiving from that webhook so just as an example i'm going to copy this and i go to this really simple tool it's called postman and then what i can do here i can send a post request and this is basically also how all these tools work like they send like a post request you enter the url and then you can also add a key value pair so you have a key and a value so for example it could be name and then the value of that could be emma and then for example email the email address could be emmado at gmail.com and then what this also does it's like adding this as a query string to our web book you don't really have to worry about that but just this is what it's sending over then when we click send and we go back over to our scenario then over here it says successfully determined so now integromat knows what kind of data to expect and what is so cool about this is that you can now use it in your next modules so when i'm going to click here okay and then i for example add a google sheet module and then i say okay add a row to a google sheet and again you can just do everything right you can also send an email with gmail you can i don't know add something to your task list you can basically do anything within takeover right so just as an example so then here mode select spreadsheet then i'm going to select my spreadsheet i have a spreadsheet over here and then i'm going to select sheet sheet 1 table contains headers yes name and email so that is this spreadsheet over here so you see here name and email so all the things here in the first row those are our headers base clean and you see that also here a is named b is email here a name b email so if you want to add any other ones then it will always correspond with all these letters up there and then what you can do is you can just go in here and then you see that the variables from our previous modules from our web module are showing up inside the next module so when i hover this you also see that it's like like beating right like like a beating heart basically our previous module so what i could do here i can say name then go to the next one and i can hear set email so now dynamically whenever this scenario runs then the name will automatically go into the column a and the email will go into column b so when i click here okay then i click here save so that's really important and then now i click run once so now we're basically going to test this so we go back over to postman and here we send some sample data and then you see it's running here now so this is the data we got name email and then in the next step it said okay we updated a row so now when i go over here it says email emma donut then maybe the first row you have to like restyle that so here i just say reset reset and then okay it is set over here and for example if we would do this again so here we would say john john doe gmail.com and if i click here again at ruin once and i sent more we go back then boom you see instantly this webhook will start and our data is added to our google sheet now what you can also do is you can also change this so now you see this like thunder icon so that means that whenever it gets data it will start instantly and i think that's really cool this is usually how i use it but if you want you can also schedule it you can for example also say okay i just want this webhook to start once a day and then once a day here every day check if there's any new data waiting in my webhook query so you can also do that but usually i would just leave it to immediately so that whenever you get new data boom it will start right away and then one more thing you can also do is you can also send a webhook response so you just already showed you that here so when we go to webhook webhook then here you see webhook response so this is how we can let the tool know from where we send our data over to intakermod like hey everything was okay send a status 200 and then you can also send something back so here i would say okie dokie for example right so here i click ok i click save run once and then i'm going to test this again so now i will type here vira fira do i click send and boom this will start data was added to our google sheet and then when we go back here over to postman then you'll see here status 200 okay and this is the data that we got back so these status codes if you want you can also change those here's for example a whole list i've also linked to this in the description below of this video where you can find all the response codes uh that are out there my favorite is 418 i'm a teapot and no clue what that is for but i think it's pretty funny uh that it is in there at all but so yeah that's how you send a webhook response you don't have to send the webhook response because if you don't do that you can also demonstrate it and we click here run once and then the tool your tool would send data over then you also see here that by default you already get the status 200 up and then it just says accept it so you don't have to do that but if you want the option is there so yeah that's how web hooks work so now i want to show you also an example of something that you can do so i'll just delete this then we have here our webhook and then what we're going to do is we're going to click redetermine data structure so you will always re-determine the data structure whenever you do something maybe new with that webhook or like something in your data structure changed so maybe you have another key value pair like for example i don't know a question someone asked something like that then you just click this but right now what i want to do is i want to add this web hook to an automation in my email service provider so i'm using activecampaign and notice you can also do this with other email service providers but i just want to demonstrate how cool this webhook module actually is so over here inside my automation what i can do is i can add a webhook module so i just go over here i paste it and i click save and now what activecampaign is doing whenever a new contact goes into this automation that activecampaign is going to send all the contact data over to that webhook so let me demonstrate that real quick so i will activate this automation then i go to contacts and then i'll find emmardo so here we have mrdo and i will manually in this case add this person to that automation so here this automation is called webhook example so i wanna add this version to webhook example and then say okay and then over here you see that this thing now says successfully determined so then now what we can do when we click add another module for example right i could send a personal email to that person with my gmail account like a pretty cool trick that i sometimes use to try to be a bit more personal like i would love to send everyone personal messages but unfortunately i can't so i try to automate as much as i can so here i could say send an email and then here i said two and then we can map that to email address so here you see that we have all the data from that webhook from activecampaign the activecampaign is sending over here the contacts and then we have the contact id but also their email address so then what you can do here is the email address add okay and then the subject then i couldn't just say like any questions for example imagine that i'm triggering that webhook whenever someone is visiting my checkout page twice maybe or they open a certain email or they reach a certain lead score or whatever right then i can just say like hey first name i noticed that you opened a lot of my emails awesome nah and then blah blah blah max and then okay so now when i click save and here i click run once so run once it's just really handy for like testing especially the webhook module and if i would now add emma again to this automation and we go back over here you see that the weapon module starts this is the data that we got here you see id31 dimon.com first emma.gmon.com last name okay all good and now this email was also sent so it was sent to emma doe and here you see hey emma i noticed you opened quite a lot of emails and this person would be like hey super cool that i'm getting a personal email from max so this is like a handy trick that i wanted to show you now then i want to show you one more example and this is with my card provider so i'm using thrive card and what i like to do with driveguard whenever i have a new order i want to send an order confirmation to that person and also add that person to my email service provider so to do that we go over to our webhook module i copy my webhook i say read that's my data structure then i go over to drivecard and then what i can do when i go here in settings to api and webhooks then here webhooks and notifications and over here because i add another webhook and then here i'd say integromat i'll just call this example and then webhook url and then receive result as g sense just like a certain kind of data structure and then i click save this webhook and then now whenever i get a new order then data is being sent over to my intake mod web hook and the scenario will start so let me quickly demonstrate that so here we have our product then over here we make sure to click redetermine data structure and then here i'm going to fill this out emma do emma do somewhere one two three four or two three four five and then we click paypal complete order and then here okay we pay and then as soon as the data comes then this will also stop and then it says okay data structure determined okay cool okay and then what you can do again you can just do everything you want right you can maybe create a list of all your customers in google sheets you can send a confirmation email maybe the gmail module or what i like to do is then i want to create or update a contact inside activecampaign so here i already connected it and then i say email and then here you see that all the data that we got from a card so then here down customer we see here the email of the customer and then also the first name of the customer and the last name of the customer i didn't ask for a phone number so i'm not going to fill that out and then here click ok and then you would click save and then if you want to test it again you can click again on the rune once but if this is just what you want to use this is how you want to use your web hook this is like your whole scenario you tested it you know it's working then here boom you click scheduling on and then now whenever there is a new order the contact will automatically be created inside activecampaign so i think that the webhooks inside integramod are incredibly handy especially if there is not a native module for the tool that you want to integrate yet then you can just create a webhook module copy the web book paste it inside your tool and then whenever data is sent over your scenario will automatically start if you have any questions about webhooks then make sure to drop them in the comments below and i'll try to help you as best as i can and if you want to learn more about integer mod and else created a full tutorial right here so you can just click that and then you can learn everything about integer mod there is to know so that's it for now i will see you in the next one