DashboardSign inStart your trial

SanitySanity
01Integration field card

Sanity Automation with Mobile Approvals

Run Sanity on autopilot. Keep the veto.

21 actions

Your Sanity documents get deleted or roles change before you catch the mistake. Rills proposes each action, you approve from your phone.

Try the approval demo

Interactive. No signup. 14 days free · approvals always free.

Powered by Composio
02. The trust layer

Most automation fires first, asks later. Rills shows you the change before it ships.

Every consequential other action from Sanity arrives on your phone first. Approve in seconds. Decline without explaining yourself. Workflows wait, paused at zero cost, until you decide.

Queue 3

SANITY · DELETE REVIEW
90

Delete 8 draft documents with no published references?

Documents: 8 drafts · last edited > 30d

No outgoing links from these drafts

Deletion frees 2.3GB of assets

SWIPE → APPROVE
Illustrative. Your real proposals match your data and your approval history.
  1. Free to wait. Free to think.

    Approvals and logic don't cost a credit. Pause a workflow for three hours or three weeks. The price is the same: zero. You only pay when something real happens: an AI call, an outbound action.

  2. Approve from your phone in five seconds.

    Swipe right when you're sure. Decline when you're not. Between meetings, mid-coffee, on the train. No dashboard to babysit, no inbox triage, and no surprise send you find out about after it's already out the door.

  3. Routine cases graduate themselves.

    Every approval feeds a confidence score for that exact workflow shape. The obvious cases (the ones you've green-lit fifty times) start running on their own. The judgment calls still come to you.

03. Overview

About Sanity automation

Document deletions, permission changes, and content queries happen inside Sanity without anyone watching. The wrong action ships before you know it.

When Sanity runs unsupervised

Here is what can go wrong when Sanity acts on its own.

  • Delete Document: a draft removal cascades into lost references across your site.
  • Update Organization ACL: a role change locks out editors for hours before anyone notices.
  • Query Documents: a public query returns unpublished content you meant to keep hidden.
  • Add Default Role to Users: new contributors get access they should not have until you manually revoke it.
  • Delete User Attribute Definition: a custom field definition disappears and breaks your frontend forms.

What Rills does inside Sanity

Rills watches delete operations, role changes, and attribute updates before they run. You see each proposed action on your phone and approve or reject it. The action only executes after your go-ahead.

Content does not ship until you say it ships.

Why Sanity has no triggers and how Rills fills the gap

Sanity does not fire events when documents change or permissions update. Rills fills that gap by polling regularly and catching the changes you would miss. Content management workflows rely on these patterns.

  • Scheduled checks: Rills polls Sanity every few minutes for new document deletions and role changes.
  • Upstream triggers: Combine Stripe payment events with Sanity document queries to update content based on customer actions.
  • Confidence-based graduation: After you approve similar document deletions five times, Rills learns the pattern and proposes the next one with higher confidence but still waits for your swipe.
04. Actions

What Rills can do in Sanity

6 of 21 actions across reads, writes, and updates.

  1. 01

    Validate Credential

    Verify that your Sanity API token is valid and properly configured by retrieving your authenticated user information and accessible projects. This ensures your connection to Sanity is working correctly before performing other operations.

  2. 02

    Delete Document

    Permanently remove documents from your Sanity content repository by ID or query, with options to preview changes before committing. Useful for cleaning up outdated content, managing large-scale deletions, or maintaining data hygiene in your headless CMS.

  3. 03

    Get Document by ID

    Retrieve a specific piece of content from your Sanity repository using its unique ID, getting back the complete document with all metadata. Use this when you need to quickly access a known document without writing queries.

  4. 04

    Query Documents

    Search and retrieve specific content from your Sanity content library using custom queries, allowing you to filter, organize, and transform your data exactly how you need it.

  5. 05

    Get Project

    Retrieve complete project details from your Sanity workspace, including configuration, display name, organization, and studio information. Use this when you need to verify project settings or access comprehensive project metadata.

  6. 06

    Create Prompt Post

    Send a single prompt to generate or manage content in Sanity without maintaining conversation history, perfect for quick one-time content requests.

05. NEXT MOVE

Approve every Sanity change before it ships.

14 days free. No credit card. About 90 seconds to your first proposal.