Skip to content
For LLMsView as Markdown·

Prismic

undefined

DetailValue
CategoryCMS
Base URLhttps://{repository}.cdn.prismic.io/api/v2
AuthenticationBearer Token
Endpoints5
Connector keyprismic

Using Prismic in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Prismic from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET Search Documents
GET List Custom Types
GET Create Custom Type
GET List Shared Slices
GET Create Document

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET

Search Documents

DetailValue
Operation IDsearch_documents_0
MethodGET
Path``

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Prismic connection from the Connection dropdown.
  3. In the Operation dropdown, select search_documents_0.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Prismic API reference.

GET

List Custom Types

DetailValue
Operation IDlist_custom_types_1
MethodGET
Path``

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Prismic connection from the Connection dropdown.
  3. In the Operation dropdown, select list_custom_types_1.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Prismic API reference.

GET

Create Custom Type

DetailValue
Operation IDcreate_custom_type_2
MethodGET
Path``

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Prismic connection from the Connection dropdown.
  3. In the Operation dropdown, select create_custom_type_2.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Prismic API reference.

GET

List Shared Slices

DetailValue
Operation IDlist_shared_slices_3
MethodGET
Path``

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Prismic connection from the Connection dropdown.
  3. In the Operation dropdown, select list_shared_slices_3.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Prismic API reference.

GET

Create Document

DetailValue
Operation IDcreate_document_4
MethodGET
Path``

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Prismic connection from the Connection dropdown.
  3. In the Operation dropdown, select create_document_4.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Prismic API reference.