
When this happens...
Create Post
Post Published
Post Draft Saved
Post Deleted
Page Published
Page Draft Saved
Page Deleted
Page Unpublished
Collection Item Published
Collection Item Draft Saved
Collection Item Unpublished
Collection Item Deleted

Automatically do this!
Create project
Update Project
Delete Project
Update Role
Delete Role
When this happensTriggers
A trigger is an event that starts a workflow.
Trigger when a new Post created.
Trigger when a blog post is published.
Trigger when a draft blog post is saved.
Trigger when a blog post Deleted.
Trigger when a page is published.
Trigger when a Page Draft Saved .
Action is the task that follows automatically within your ButterCMS integrations.
Create a new project with a display name and optional organization ID
Modify an existing Sanity project's name, settings, or metadata.
Delete a specific project.
Update the details of specific role.
Delete a specific role by its id.

Discover viaSocket, an AI-powered workflow automation platform with 2,000+ integrations. Learn what it is, how it works, and how to set up no-code automated workflows.

Unlock your team's potential with 5 straightforward automation hacks designed to streamline processes and free up valuable time for more important work.

Explore workflow automation: its definition, benefits, how it works, real-world examples, and how to automate with viaSocket.

Discover what webhooks are, how they work, and when to use them. Compare push-based webhooks with APIs and polling, with practical examples and ViaSocket integration.
To start, connect both your ButterCMS and Sanity accounts to viaSocket. Once connected, you can set up a workflow where an event in ButterCMS triggers actions in Sanity (or vice versa).
Absolutely. You can customize how ButterCMS data is recorded in Sanity. This includes choosing which data fields go into which fields of Sanity, setting up custom formats, and filtering out unwanted information.
The data sync between ButterCMS and Sanity typically happens in real-time through instant triggers. And a maximum of 15 minutes in case of a scheduled trigger.
Yes, viaSocket allows you to add custom logic or use built-in filters to modify data according to your needs.
Yes, you can set conditional logic to control the flow of data between ButterCMS and Sanity. For instance, you can specify that data should only be sent if certain conditions are met, or you can create if/else statements to manage different outcomes.
ButterCMS is a headless content management system designed to simplify content management and delivery for websites and applications. It provides developers and content creators with a flexible and scalable platform to manage and deliver content seamlessly across various digital channels.
Learn MoreSanity is a platform for structured content that allows teams to build and manage digital experiences with ease. It provides a flexible and customizable content management system (CMS) that adapts to your needs, enabling seamless collaboration and efficient content delivery.
Learn More