Sokko

Utilisez Sanity avec Sokko.

Connectez Sanity et dites à Sokko quoi faire. Il exécute les actions que vous demandez et réagit à ce qui se passe. Sans workflows, sans code.
Fonctionne avec plus de 1 000 outils · Aucun code requis
Actions

Tout ce que Sokko peut faire dans Sanity

Chaque action Sanity que Sokko peut exécuter. Demandez-en une en une phrase et c'est fait.

Add Default Role to Users

Apply organization default role to all users. Use when you need to assign the organization's default role to all existing users in the organization. Requires the resource ID of the organization.

Create Attribute Definition

Create a user attribute definition for a Sanity resource with a unique key and a string, number, or boolean type.

Create Prompt Post

Send a one-shot prompt to the Sanity Content Agent without maintaining conversation context. HTTP errors are returned in the response's raw_response field.

Delete User Attribute Definition

Delete a user attribute definition. Use when you need to remove a custom attribute definition from an organization or project in Sanity. The attribute definition controls how user attributes are structured and validated for a given resource. Deleting a definition does not delete existing user attribute values, but users will no longer be able to set values for that attribute.

Delete Document

Delete a document from Sanity by ID or query. This action is irreversible when purge is true — the document cannot be recovered once permanently deleted. Use when you need to remove a specific document by ID or bulk delete documents matching a GROQ query (limited to 10,000 documents per operation). For large deletions, paginate by document ID. Set dry_run to true to test the operation without modifying data.

Delete User Attributes

Delete specified custom attributes from a Sanity user within an organization. A 404 or empty response produces an empty attribute list, which does not establish the user's remaining attributes.

Get Document by ID

Fetch a document by ID from a Sanity dataset in the project configured on the connection. The response may instead report that the document was omitted.

Get Invite By Token

Retrieve an invite by its public token for a specified resource. Returns invite details when found; an HTTP 404 is returned as found=false.

Get Organization Role

Retrieve a specific organization role by its ID. Use this action when you need to fetch details about an organization role including its permissions, title, description, and whether it applies to users or robots. The role must exist for the specified organization.

Get Permission

Get a permission for a specific resource. Use when you need to retrieve details about a particular permission including its actions, parameters, and scope. The action retrieves permission information based on the resource type, resource ID, and permission name provided in the path parameters.

Get Project

Retrieve details for the Sanity project configured on the connection by its ID, including available project information such as display name, organization, studio host, and timestamps.

Get Robots

Tool to get robots with access to a resource. Use when you need to retrieve a list of robots (service accounts) that have been granted access to a specific resource along with their assigned roles. This action supports pagination through the next_cursor parameter.

Get Role

Retrieve a specific role for a given resource type and resource ID. Use this action when you need to fetch details about a role including its permissions, title, description, and whether it applies to users or robots. The role must exist for the specified resource.

List Resource Users

List all users of a resource and their assigned roles. Use when you need to retrieve user information and role assignments for a specific project or organization. Supports pagination via cursor.

List Datasets

List datasets in the Sanity project configured on the connection, optionally including statistics or filtering by profile or add-on parent.

List Organization Roles

List all roles available for an organization. Use this action to retrieve all available roles that can be assigned to users within a specific Sanity organization. The organization_id is required to identify which organization's roles to list.

List User Attributes

Tool to retrieve user attributes from a Sanity organization. Use when you need to get the attributes (such as roles, permissions, or custom properties) associated with a specific user in a Sanity organization. Supports pagination via the cursor parameter.

Mutate Documents

Apply or dry-run one atomic batch of create, replace, conditional-create, patch, and delete mutations in a Sanity dataset. Calls commit unless dry_run is true; a delete with purge permanently removes document history.

Query All Screening

Execute a GROQ query against a Sanity dataset, defaulting to screening documents. Supports optional query parameters; requests are sent without authentication headers.

Query Documents

Execute a GROQ query against a Sanity dataset in the project configured on the connection. Supports optional parameters, perspective control, and CDN use; results can be any JSON value, including arrays, objects, scalars, or null.

Update Organization ACL

Tool to assign a role to a member in a Sanity organization. Use when adding or modifying user roles within an organization.

Update User Attributes Values

Update user attribute values for a resource. Use this action to set or update custom attributes for a user within an organization or project. When setting a value for an attribute key that also exists in SAML, the Sanity value will take precedence and shadow the SAML value.

Upload Image Asset

Upload raw image bytes to a dataset in the connected Sanity project.

Validate Credential

Validate Sanity API credentials by fetching the authenticated user's information. Use this action when you need to verify that an API token is valid and has proper authentication. This action returns user information and accessible projects if the token is valid.
Tout connecter

Ajoutez Sanity dans votre Slack en deux minutes.

Aucun workflow à configurer. Activez les outils que vous utilisez déjà et votre agent se met au travail.
Ajouter à Slack
1

Ajoutez Sokko à Slack

Un clic depuis la marketplace Slack. Toute votre équipe a Sokko d'un coup.
Composio
GitHub
Supabase
Airtable
Firecrawl
Tavily
Bitbucket
Sentry
2

Connectez vos outils

Sokko fonctionne avec plus de 1 000 apps et n'importe quel serveur MCP.
Martin
9:53 AM
@Sokko
Que peux-tu faire avec Sanity ?
3

Mettez Sokko au travail

@mentionnez Sokko dans n'importe quel canal et c'est parti. Quelques minutes, pas un week-end.

Vos questions, nos réponses.

Sokko est un assistant IA qui vit dans votre Slack. Connectez vos applis, demandez ce dont vous avez besoin en langage courant, et Sokko s'occupe du travail à votre place.

Inscrivez-vous à Sokko, demandez à Sokko de se connecter à Sanity, et approuvez la connexion quand on vous le demande. Ensuite, vous pouvez demander à Sokko d'agir dans Sanity dès que vous en avez besoin.

Non. Il n'y a rien à créer ni à configurer. Vous demandez à Sokko dans Slack comme vous le demanderiez à un collègue, et Sokko s'occupe du reste.

Oui. Demandez une fois et dites à Sokko quand le répéter, par exemple chaque lundi à 9 h, et cela devient une routine qui tourne sans vous.

Lire et agir sur les données dans Sanity, et déclencher des workflows quand quelque chose y change. Dites à Sokko le résultat que vous voulez et il s'occupe du reste.

Oui. Sokko se connecte à plus de 1 000 applis et à n'importe quel serveur MCP : vous pouvez donc confier des tâches qui couvrent Sanity et le reste de votre stack en une seule demande.

Que fera votre premier agent ?

Créez un agent, connectez vos outils et confiez-lui une tâche. Vos 3 premiers jours sont gratuits, avec $5 de crédits IA pour commencer.