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


We recently released Cosmic Functions (public beta). We're excited to help teams build amazing modern products together with new serverless solutions.
Build a documentation app in a afternoon leveraging the powered of Gatsby and Cosmic JS.
Cosmic JS empowers developers and content editors by giving them the tools they need to accomplish their jobs in concert with one another.
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.
Grab and save content from any website to your Cosmic JS Bucket.
Cosmic Community Member Reagan McFarland just debuted the new Alexa Skill codebase to add Objects to your Cosmic JS Bucket via voice. In this video, Cosmic JS co-founder Tony Spiro takes you on a quick tour of how to demo the Alexa To Do app from the Alexa developer console.