đ Webhooks
đĄ Introduction
Let your platform talk to other apps!
Webhooks are like automatic notifications that zip relevant details between apps, triggering actions in real-time.
This means faster workflows, smoother integrations, and happier users who get what they need instantly. A new user signs up? Trigger an automated welcome e-mail. An organization has been created on your platform? Your CRM gets notified immediately. An Event has been created? A new Custom Module has been updated? A new Form has been created? Apply Webhooks to numerous use cases.
There are many providers available, we show you here below the âhow toâ based on Zapier and n8n.
Webhooks provide an automated method to transmit data from your LoftOS application to external services. In LoftOS, webhooks can be activated by specific events within your application, such as the creation of an organization or an update to a user's profile and much more. You can view the complete list of triggerable events through the webhooks interface located in the admin area.
We also offer a self-hosted version of n8n for customers who cannot use third-party services due to data handling. This ensures that all data remains fully under our control. Access is by invitation only, please contact your CSM.
đ©đ»âđ»Â Usage
Connect a webhook with Zapier (Example: Send a welcome e-mail to a user)
Go to Admin â Other â Webhooks.
Start by selecting â+Webhookâ.
- Login to your Zapier account. Click â+Createâ creating a new Zap and select âAutomated workflowsâ.
-
Choose the âWebhooks by Zapierâ trigger.
-
Select the added integration, use âCatch Hookâ option as the event, and click âContinueâ.
-
On the next screen (âTriggerâ) click âContinueâ.
-
A webhook URL has been generated. âCopy the URLâ.
- Go back to your LoftOS application. âPaste the webhook URLâ in the required field.
- Choose the specific event for which you want to trigger your webhook. For instance, if you wish to send a welcome e-mail to new users, select âuser createdâ as the event, scroll to the bottom of the page, and âSaveâ.
- Click on âTest Webhookâ to trigger the test.
- Select the event âUser createdâ, this will trigger Zapier to create the event.
- Next, go back to your created webhook in Zapier and use âTest Triggerâ , select the trigger you want to use and click âTest triggerâ. This will make an example request, so Zapier knows the data it can work with.
-
Now you should see a list with data like this:
-
Select âContinue with selected recordâ.
-
Next, we choose the action where we want to use our data. This can be any possible integration that Zapier offers. Like Salesforce, Pipedrive, Google Sheet or others. In this example we want to use the âEmail by Zapierâ action as we want to send a welcome e-mail to our new user. The sender will be Zapier. If you prefer to use your organizationâs e-mail address to appear, please choose your e-mail provider.
-
Select âSend Outbound Emailâ as event and click âContinueâ.
-
In the next screen you can configure your e-mail. You can make use of the data that is used in the webhook. You will see the example values from the test webhook. This will be replaced with real data once the integration is activated.
-
Click âContinueâ when you are done.
-
In the last step, you can test your integration.
Connect a webhook with n8n (Example: Send a welcome e-mail to a User)
Go to Admin â Other â Webhooks.
Start by selecting â+Webhookâ.
- Login to your n8n account. Select âStart from scratchâ.
- Start by creating âAdd first stepâŠâ.
-
Select the âOn webhook callâ trigger.
-
A webhook URL has been generated. Put the HTTP Method on âPOSTâ. âCopy the URLâ.
- Go back to your LoftOS application. âPaste the webhook URLâ.
-
Choose the specific event for which you want to trigger your webhook. For instance, if you wish to send a welcome e-mail to new users, select âuser createdâ as the event and âSaveâ at the bottom of the page.
-
Go back to your created webhook in n8n and select âListen for test eventâ. Go back to your created webhook on your platform
-
Initiate the âTest Webhookâ. This will trigger n8n to create the event.
-
Select the event âUser createdâ and click on âTestâ.
-
You should now have data in your n8n board. Click now on Production URL and paste this URL in the webhook field on your platform.
- To work with real data: Create a second webhook on your platform with the test url, linking the action you want to track.
- Click on listen, then take the action: register a user, register to an event, fill out a form, etc.
- You should now have the real data in the board on the right. Click on the pin button on the upper right.
- Next; go âBack to canvasâ. Click on + and select the IF function
- On the left-hand side, look for the field âformIDâ and drop it in the field âvalue 1â of the conditions.
- Copy the value of your form, event, or custom module in the field âvalue 2â. Make sure that the condition is set to âequal toâ.
- click on âtest stepâ. If you get the output âbranche item TRUEâ, then everything is ok.
- Next, go âBack to canvasâ. Click on + and select the automation you want to set up, eg. send out an email
- Connect your email account (you need to get these parameters from your email admin)
- Put the email addresses in the âToâ field (if you have several addresses, you need to separate them with a â,â
- Type in the message you want to send
- Test the step.
- Go back to your canvas flow. Save your flow and activate it.
Connect a webhook with Make.com
You need to create an account on make.com
Receive an email when a new user registers
-
Create a new scenario
-
Download the file here below. Then, on the bottom bar click on the three points and click on âImport blueprintâ.
-
Click on the webhook icon - Add - Type in the name âNew user createdâ - Save. Click on âcopy address to clipboardâ
-
Go to your platform - admin - other - webhooks.
-
Add a new webhook and paste the url from make in the field âURLâ.
-
Activate the toggle âuser createdâ and save your webhook.
-
Open your webhook and click on âtest webhookâ. In the dropdown list, select âuser createdâ and click on test.
-
Now, go back to your scenario within make and click on the Gmail icon
- If you are not using Gmail, delete this icon (right click - delete), then click on +add a module and search for your email provider in the list.
-
Connect your email account.
-
Add the email address to which the email should be sent and a subject.
-
Within the content field, add your text and link the user profile by using: platformurl/users/-/âid fieldâ. You need to drag and drop the id-field from the list of fields that pops up when you click within the content field.
-
Click on save, then right click on the email icon and choose ârun this module onlyâ. Type in an id - you should now receive a test email if the setup works.
-
Save your scenario on the bottom bar and activate the toggle next to âImmediately as data arrivesâ. Your scenario is now active.
-
Click on scenarios on the left: you see here an overview of all your scenarios.
-
To test your scenario, create a test user on your platform: you should receive an email with the link to the new userâs profile.
Receive an email when a user profile is updated
-
Create a new scenario
-
Download the file below. Then, on the bottom bar click on the three points and click on âImport blueprintâ
-
Click on the webhook icon - Add - Type in the name â user updatedâ - Save. Click on âcopy address to clipboardâ
-
Go to your platform - admin - other - webhooks.
-
Add a new webhook and paste the url from make in the field âURLâ.
-
Activate the toggle âuser updatedâ and save your webhook.
-
Open your webhook and click on âtest webhookâ. In the dropdown list, select âuser updatedâ and click on test.
-
Now, go back to your scenario within make and click on the Gmail icon
- If you are not using Gmail, delete this icon (right click - delete), then click on +add a module and search for your email provider in the list.
-
Connect your email account.
-
Add the email address to which the email should be sent and a subject.
-
Within the content field, add your text and link the user profile by using: platformurl/users/-/âid fieldâ. You need to drag and drop the id-field from the list of fields that pops up when you click within the content field.
-
Click on save, then right click on the email icon and choose ârun this module onlyâ. Type in an id - you should now receive a test email if the setup works.
-
Save your scenario on the bottom bar and activate the toggle next to âImmediately as data arrivesâ. Your scenario is now active.
-
Click on scenarios on the left: you see here an overview of all your scenarios.
-
To test your scenario, update a test user on your platform: you should receive an email with the link to the updated userâs profile.
đš Individualization Options
Here are several ways to use webhooks for various use cases:
A new user registers on your platform:
- Add to Email Marketing List:
- Trigger: A new user registers on your platform.
- Webhook Action: Webhook adds the userâs information to your email marketing tool (e.g., Mailchimp, Mailer lite).
- Welcome Email:
- Trigger: A new user registration.
- Webhook Action: Webhook sends a personalized welcome email to the new user via your email service (e.g., Gmail, Outlook).
- Update CRM:
- Trigger: A new user registers.
- Webhook Action: Webhook creates or updates the user's profile in your CRM (e.g., Salesforce, HubSpot).
- Notify Team on Slack:
- Trigger: A new user registration.
- Webhook Action: Webhook sends a notification to a designated Slack channel to inform your team.
- Add to Project Management Tool:
- Trigger: A new user registers.
- Webhook Action: Webhook creates a new task or entry in your project management tool (e.g., Trello, Asana) to follow up with the new user.
- Create Support Ticket:
- Trigger: A new user registration.
- Webhook Action: Webhook creates a support ticket in your helpdesk software (e.g., Zendesk, Freshdesk) for onboarding support.
- Add to Webinar or Event:
- Trigger: A new user registration.
- Webhook Action: Webhook registers the user for an upcoming webinar or event using a tool like Zoom or Eventbrite.
- Update Google Sheets:
- Trigger: A new user registers.
- Webhook Action: Webhook adds the userâs details to a Google Sheets spreadsheet for record-keeping and analysis.
Using this automation, you can ensure that new user registrations trigger a series of actions that enhance user engagement, streamline your workflows, and maintain efficient communication across your team and tools.
Event registration:
Here is an example of how you can use Webhooks to streamline your event ticket sales:
- Connect your Ticketing Platform and Email Marketing Tool:
- Trigger: A new ticket is purchased on your ticketing platform (e.g., Eventbrite).
- Webhook Action: Webhook automatically adds the purchaser's information to your email marketing tool (e.g., Mailchimp).
- Automate Confirmation Emails:
- Trigger: A ticket is sold.
- Webhook Action: Webhook sends a personalized confirmation email to the buyer via your email service (e.g., Gmail).
- Update your CRM:
- Trigger: A new ticket purchase.
- Webhook Action: Webhook creates or updates the contact information in your CRM (e.g., Salesforce).
- Post to Social Media:
- Trigger: When a certain number of tickets are sold.
- Webhook Action: Webhook posts an update on your social media accounts (e.g., Twitter, Facebook, Instagram).
- Generate and Send Invoices:
- Trigger: A ticket is sold.
- Webhook Action: Webhook creates and sends an invoice through your accounting software (e.g., QuickBooks).
These automated workflows save time, reduce manual data entry, and ensure that your customers receive timely and accurate communications.
Forms:
- Add new subscribers to an email list:
- Trigger: New form submission.
- Webhook Action: Adds the respondentâs email address and details to your email marketing tool (e.g., Mailchimp, Constant Contact).
- Notify your Team:
- Trigger: New form submission.
- Webhook Action: Sends a notification to a Slack channel or via email to inform your team about the new submission.
- Generate Support Tickets:
- Trigger: New form submission.
- Webhook Action: Creates a new support ticket in your helpdesk software (e.g., Zendesk, Freshdesk).
- Send Confirmation Emails:
- Trigger: New form submission.
- Webhook Action: Automatically sends a personalized confirmation email to the respondent via your email service provider (e.g., Gmail, Outlook).
Using Webhooks with forms helps automate data collection and processing, reducing manual effort and ensuring timely actions based on form submissions.
Custom Modules:
Here are several ways to use webhooks for example with job openings:
- Notify HR Team:
- Trigger: A new job application is submitted.
- Webhook Action: Sends an instant notification to the HR teamâs Slack channel or email.
- Update Applicant Tracking System (ATS):
- Trigger: A new job application is received.
- Webhook Action: Automatically adds the applicant's information to your ATS (e.g., Greenhouse, Workable).
- Send Confirmation Emails:
- Trigger: An application is submitted.
- Webhook Action: Sends a confirmation email to the applicant.
- Create Tasks in Project Management Tools:
- Trigger: A new job application or interview is scheduled.
- Webhook Action: Creates tasks in project management tools like Asana or Trello to remind team members to review applications or prepare for interviews.
- Update Database:
- Trigger: A new job posting is created.
- Webhook Action: Updates the job openings section on your company website or internal database.
- Integrate with Calendar:
- Trigger: An interview is scheduled.
- Webhook Action: Automatically adds the interview details to the interviewer's calendar (e.g., Google Calendar, Outlook).
- Post to Job Boards:
- Trigger: A new job opening is created.
- Webhook Action: Automatically posts the job opening to various job boards and social media platforms.
- Generate Reports:
- Trigger: A certain number of applications are received.
- Webhook Action: Generates a report and sends it to the hiring manager or team.
- Custom Notifications:
- Trigger: Specific application criteria are met (e.g., a candidate with certain qualifications applies).
- Webhook Action: Sends a custom notification to relevant team members.
- Integrate with CRM:
- Trigger: A job application is submitted.
- Webhook Action: Adds the applicant's details to your CRM for follow-up and tracking.
By using webhooks, you can automate many aspects of the job application and hiring process, improving efficiency and ensuring timely communication with applicants and your team.
â FAQs
- Is it possible to add the event XY? Currently, the list of events that can be connected to a webhook is fixed. To discuss tracking a specific event with a webhook, please contact your CSM.