Menu
Render template
Render template
POST
/render-templateUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Render template action (under Render templates).
- Fill in the fields below, then reference the result from later steps as
{{renderTemplate.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"template": {
"kind": "documentTemplate",
"indexUid": null,
"embedder": "string",
"fragment": "string",
"inline": null,
"documentTemplateMaxBytes": 0
},
"input": null
}
Response
Returns 200 with an object. Read it in later steps with {{renderTemplate.response.data.<field>}}.
{
"template": null,
"rendered": null
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?