Automating Content Workflows with Gmail, Google Sheets and Google Calendar


A primary benefit of managing content API-first is that your content is transformed into portable and scalable content objects, available via API endpoint to create workflows with the third-party applications that your team uses. We recently released the Cosmic JS Zapier Integration, which allows users to add Zapier to their Bucket to choose triggers that prompt an action in a third-party system. To demonstrate, I've put together a couple of workflows connecting my Cosmic JS Content to Gmail, Google Sheets and Google Calendar. 



Make a Cosmic JS Zap

I want to create three example workflows: 

New Media PublishedReceive an email via Gmail
New Author PublishedAdd author info to Google Sheets
New Appointment DraftedAdd appointment to Google Calendar


I want to automate these processes using the Cosmic JS Zapier Integration. To do so, go to the Cosmic JS Integrations Page and add Zapier to your Bucket. 


Choose a Trigger App: Search "Cosmic JS" 


Select your Cosmic JS Trigger

 


Media Updates: I chose "New Media" for my zap, and select the Bucket I want to received my updates to Gmail from. I connected my Gmail account and clarify who I want to receive the message, in what format and what pieces of content to include from the new Cosmic JS Media Objects being uploaded to my Bucket. Now when I add new Media to my Bucket, I get an automated email that includes the media file for my review. 


New Media Object Published


New Media Object Email Notification


New Author Updates: I chose "New Object" for my zap, and select the Bucket I want to receive my updates to Google Sheets from. I clarify within Zapier that I am looking to pull Published Object Types to update Google Sheets. I connect my Google Sheets account and clarify which spreadsheet and section I want to see updated when new Authors are published in the Cosmic JS system. 


New Author Published 


New Author Added to Google Sheets 


New Appointment Updates: I chose "New Object" for my zap, and select the Bucket I want to receive my updates to Google Calendar from. I clarify within Zapier that I am looking to pull Draft Object Types to update Google Calendar, since my workflow calls for contributors drafting content for appointments that still need to be confirmed. Now when my Appointments Object Type is set to draft, it adds a Google Calendar appointment. 


New Appointment Drafted


New Appointment Added to Google Calendar



Conclusion

It's easy to automate hundreds of simple tasks using the Cosmic JS Zapier Integration. Once you've connected your Cosmic JS Buckets to Zapier, you're able to create a variety of zaps that can speed up your team's time to market and ability to manage its various workflows seamlessly. 

If you have any comments or questions about integrating your Cosmic JS Objects into workflows with other apps using Zapier, reach out to us on Twitter and join the conversation on Slack.

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 Guide, I’m going to show you how Imgix Extension will provide optimized images for your application. Will also talk about the benefits, and show you how to install it to your Bucket in a few clicks.
Thanks to all who attended our first webinar / AMA last week. There was some great engagement and questions that helped steer the screen-share webinar for users in the Cosmic Community as well as first-time visitors to the system. If you missed it, check out the video and attend our next one.
In this tutorial I'll be showing you how I built a Vue.js app with Authentication using Cosmic JS and AWS Lambda prior to deploying to Netlify. Let's get started.
Thanks to everyone in Dallas who came out to the Vuetiful Holiday Meetup at Simple Media, featuring Vuetify, Netlify and Cosmic JS. 🎉
Single page app that allows you to showcase you digital products and accepts credit card payment online. Very similar to the marketing sales funnel, but done in simple single page sales funnel.
Creating a static React App without worrying about language boundaries