younifyd
Menu

Index a document

Index a document

POST/collections/{collectionName}/documents

Use it in a workflow

  1. Add a step and choose the Typesense connector.
  2. Pick the Index a document action (under documents).
  3. Fill in the fields below, then reference the result from later steps as {{indexADocument.response.data}}.

Request

Path parameters

collectionNamestringrequired

The name of the collection to add the document to

Query parameters

actionstring

Additional action to perform

One ofcreateupdateupsertemplace

dirty_valuesstring

Dealing with Dirty Data

One ofcoerce_or_rejectcoerce_or_dropdropreject

Response

Returns 201 with an object. Read it in later steps with {{indexADocument.response.data.<field>}}.

Need more? See the Typesense guide for connection setup and behaviour shared by every action.