3 Simple, but Powerful, Automation Webhooks


Our digital world is being built on top of API services. And Webhooks are the operators that enable these API services to communicate with each other. Using Cosmic JS Webhooks to customize your service-to-service communications, you can create some powerful automated workflows, helping you better communicate with your team and the world.

Below are a few practical use-cases for Cosmic JS Webhooks:

Add Webhooks to your Bucket by going to Your Bucket > Settings > Billing > Add-ons

1. Slack: Send notifications to your team



Slack is a preferred chat tool to help teams stay in constant communication. Cosmic JS integrates easily with your Slack workspaces, allowing you to send chat notifications whenever content is added, edited, or deleted in your Cosmic JS Bucket.  This is great for when you would like to maintain a channel to log all content edits in between mocking co-workers with gifs.

Add Slack to your Cosmic JS Bucket »


2. Netlify: Build your website automatically



Netlify is a web hosting provider for your modern web projects that allows for some amazing automation capabilities. One of these nice automated capabilities is the ability to trigger automatic builds. Connecting your Cosmic JS Bucket to Netlify is a cinch, allowing you to rebuild your Netlify-hosted web project automagically whenever content is edited in your Cosmic JS Bucket. Follow the link below to learn exactly how to do this:

Add the Netlify build hook to your Cosmic JS Bucket »


3. SendGrid: Send email notifications to your team



We recently released Cosmic Functions to help developers deploy code quickly and easily. A clear use-case for quickly deployed endpoints via Cosmic Functions is to use them for Webhook endpoints. Check out the Webhook SendGrid Email Function that enables you to send an email whenever content is added, edited, or deleted in your Cosmic JS Bucket. This is great for when your micro-managing content editor absolutely must read every draft from the comfort of their email inbox.

Go to Your Bucket > Settings > Functions to add the Send Email Webhook »


BONUS: Zapier Integrations



Zapier may be the undisputed king of webhooks. Their ecosystem of thousands of apps that communicate with each other allow you to create some powerful integrations. Use the Cosmic JS Zapier App (currently invite only 😉) to connect your Cosmic JS Bucket to any number of services including Google's Product Suite, Salesforce, Facebook, Twitter, and more.

Connect thousands of services to your Cosmic JS Bucket »


Conclusion

Our digital world is powered by API services.  Cosmic JS Webhooks connects your Bucket to the world of API services allowing your team to automate communications to help you build better products together. 

Let me know if you have any questions or comments about Cosmic JS Webhooks. Reach out to us on Twitter and join our Slack community.

Was this article helpful?

Thank you! Your input helps us improve our articles and resources. If you have any other questions or comments, please contact support.

You may also like


In this tutorial I’m going to show you how to create a simple blog using React and GraphQL. This is going to be the fastest and most light-weight blog you've ever built.
Cosmic JS makes it easy to manage content for your Bootstrap applications. In this blog we'll quickstart a Bootstrap Landing Page using the Cosmic CLI. This single page website landing page is built using Node.js and a minimal theme from Start Bootstrap.
One of the largest problems I’ve faced while working on projects is having to deal with integrating content and events into third-party services.It’s time consuming, and as the demands in the application in question grows, so does the mental strain in having to keep up to pace with all the changes
In this tutorial, Cosmic JS co-founder Tony Spiro shows you how to quickly and easily add dynamic content to your Next.js app.
Cosmic JS allows developers to deploy their codebases to the Cosmic JS App Server for staging, testing and demo purposes, and is now offering new production deployment options available with some of your favorite deployment services.
A website boilerplate satisfies some common website requirements including dynamic pages, blog articles, author management, SEO ability, contact form and website search.