NAiOS IconNAiOS Logo
Volver al catálogo

Prismic

prismic

Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.

Acciones
13
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (13)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get Prismic Documents with Fulltext SearchPRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCHAcción

Tool to fetch prismic documents using a full-text search predicate. use after obtaining the repository's master ref when you want to search for specific terms within documents.

Parámetros de entrada

  • qstringObligatorio

    Full-text predicate to search documents, e.g. [[fulltext(document, "search term")]]

  • langstring

    Language code (e.g., 'en-us').

  • pageinteger

    Page number, must be >= 1

  • fetchstring

    Comma-separated list of field API IDs to fetch.

  • pageSizeinteger

    Number of documents per page (1-100).

  • orderingsstring

    Sorting order, e.g., '[my.article.date desc]'

  • fetchLinksstring

    Comma-separated list of linked document fields to fetch.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Content API: Get Documents with Integration FieldsPRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDSAcción

Tool to fetch prismic documents including integration fields data. use when you need both core content and integration fields in one query. call after obtaining a valid ref token.

Parámetros de entrada

  • qstring

    Predicate(s) to filter documents, e.g. [[at(my.article.title, "Hello")]] or list of predicates

  • refstringObligatorio

    Content ref token for the API query, obtained from /api/v2

  • langstring

    Language code to query, default '*' for all languages

  • pageinteger

    Page number for pagination (starting at 1)

  • afterstring

    Return documents after this document ID (cursor pagination)

  • fetchstring

    Comma-separated list of fields to fetch

  • pageSizeinteger

    Number of documents per page (1-100)

  • orderingsstring

    Sort order, e.g. [my.post.date desc]

  • fetchLinksstring

    Comma-separated list of linked document fields to include

  • integrationFieldsRefstring

    Integration fields snapshot ref to fetch integration data

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic Documents with PredicatesPRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATESAcción

Tool to fetch prismic documents using specified predicates. use when filtering documents based on multiple conditions after obtaining the repository's master ref.

Parámetros de entrada

  • langstring

    Language code to filter documents by language, e.g., 'en-us'.

  • pageinteger

    Page number for pagination, must be >= 1.

  • fetchstring

    Comma-separated list of fields to fetch in documents.

  • pageSizeinteger

    Number of documents per page (1-100).

  • orderingsstring

    Sorting order expression, e.g., '[document.last_publication_date desc]'.

  • fetchLinksstring

    Comma-separated list of linked document fields to include.

  • graphQuerystring

    GraphQuery expression for nested fields retrieval.

  • predicatesstring[]Obligatorio

    List of Prismic predicates for filtering documents, e.g., [[at(document.type,"page")]].

  • access_tokenstring

    Access token for private repositories.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Prismic: Query DocumentsPRISMIC_CONTENT_API_QUERY_DOCUMENTSAcción

Tool to query prismic documents using predicates and pagination. use when you need to fetch multiple documents from a repository after obtaining a ref.

Parámetros de entrada

  • qstring

    Predicate(s) to filter documents using Prismic predicate syntax.

  • refstringObligatorio

    Content release reference to use (e.g., a master ref or API token ref)

  • langstring

    Language code to query (e.g., 'en-us'), default '*' for all languages

  • pageinteger

    Page number for pagination, starting from 1

  • afterstring

    Document ID to paginate after for deep pagination.

  • fetchstring

    Comma-separated list of fields to fetch for each document.

  • pageSizeinteger

    Number of documents per page (1-100)

  • orderingsstring

    Sort order, e.g., '[my.article.date desc]'

  • fetchLinksstring

    Fields from linked documents to fetch, comma-separated.

  • graphQuerystring

    GraphQuery to specify which fields to return.

  • access_tokenstring

    Private API content token for authentication, if required.

  • integrationFieldsRefstring

    Reference of integration fields content.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic Document by IDPRISMIC_GET_DOCUMENT_BY_IDAcción

Tool to retrieve a specific prismic document by its id. use after obtaining a content ref.

Parámetros de entrada

  • refstringObligatorio

    Content ref from /api/v2 (identifies which version of content to query)

  • langstring

    Optional language code (e.g., 'en-us')

  • pageinteger

    Page number to fetch; defaults to 1

  • orderingsstring

    Optional ordering string, e.g., '[document.last_publication_date desc]'

  • page_sizeinteger

    Number of documents to return; defaults to 1

  • document_idstringObligatorio

    Unique identifier of the Prismic document

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Prismic: Get Documents by Custom FieldPRISMIC_GET_DOCUMENTS_BY_CUSTOM_FIELDAcción

Tool to fetch prismic documents by custom field predicate. use after obtaining a repository ref when filtering content by field constraints.

Parámetros de entrada

  • qstring

    Predicate(s) to filter documents, e.g., [[at(my.article.title, "Hello")]] or list of predicates

  • refstringObligatorio

    Content release reference to use (e.g., a master ref or API token ref)

  • langstring

    Language code to query, default '*' for all languages

  • pageinteger

    Page number for pagination, starting from 1

  • pageSizeinteger

    Number of documents per page, between 1 and 100

  • orderingsstring

    Sort order, e.g., [my.article.date desc]

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic Documents by TagPRISMIC_GET_DOCUMENTS_BY_TAGAcción

Tool to fetch prismic documents by tag. use when retrieving all documents associated with a specific tag.

Parámetros de entrada

  • tagstringObligatorio

    Tag to filter documents (exact match).

  • langstring

    Language code (e.g., 'en-us').

  • pageinteger

    Page number, must be >= 1.

  • afterstring

    Document ID to paginate after for deep pagination.

  • pageSizeinteger

    Number of documents per page (1-100).

  • orderingsstring

    Sorting order, e.g., '[my.article.date desc]'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic Documents by TypePRISMIC_GET_DOCUMENTS_BY_TYPEAcción

Tool to fetch prismic documents by type. use when you need to retrieve documents with a specific custom type after obtaining the repository's master ref.

Parámetros de entrada

  • langstring

    Language code (e.g., 'en-us')

  • pageinteger

    Page number, must be >= 1

  • typestringObligatorio

    Custom type to filter documents (exact match).

  • afterstring

    Document ID to paginate after for deep pagination.

  • pageSizeinteger

    Number of documents per page (1-100).

  • orderingsstring

    Sorting order, e.g., '[my.article.date desc]'

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ordered DocumentsPRISMIC_GET_DOCUMENTS_ORDEREDAcción

Tool to fetch prismic documents ordered by a specified field. use after obtaining a valid api ref when you need sorted document results, e.g., orderings='[my.article.date desc]'.

Parámetros de entrada

  • qstring[]

    Predicate query strings for filtering (repeatable)

  • refstringObligatorio

    API ref to query (e.g., master ref or a release ref)

  • langstring

    Filter by language code (e.g., 'en-us')

  • pageinteger

    Page number for pagination (default: 1)

  • afterstring

    Fetch results after this document ID for deep pagination

  • fetchstring

    Comma-separated list of field names to fetch

  • pageSizeinteger

    Results per page (default: 20, max: 100)

  • orderingsstringObligatorio

    Ordering criteria, e.g. '[my.article.date desc]'

  • fetchLinksstring

    Comma-separated list of linked document fields to fetch

  • graphQuerystring

    GraphQuery filter string for shaping the response

  • access_tokenstring

    OAuth2 access token for private repositories (overrides default header)

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic Repository InfoPRISMIC_REPOSITORY_API_GET_INFOAcción

Tool to retrieve prismic repository metadata. use after authentication to load refs, types, languages, and other repository settings.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic Repository RefsPRISMIC_REPOSITORY_API_GET_REFSAcción

Tool to retrieve a list of repository refs (master and releases). use when you need the current repository references before executing any content queries.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Prismic TagsPRISMIC_TAGS_API_GET_ALL_TAGSAcción

Tool to retrieve all tags from prismic repository. use when you need the full list of tags for filtering or categorization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Prismic: Get Custom TypesPRISMIC_TYPES_API_GET_TYPESAcción

Tool to retrieve all custom types and slices from the prismic repository. use when you need to list custom types definitions after authentication.

Parámetros de entrada

  • refstring

    Reference to the API version to query custom types (e.g., a master ref)

  • pageinteger

    Page number for pagination

  • sortstring

    Sort order for results (e.g., 'name')

  • limitinteger

    Maximum number of custom types to return

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not