New to Kestra?
Use blueprints to kickstart your first workflows.
Report on a Meilisearch docs corpus with Kestra. Run a weekly facet search on the section attribute and post the facet hit count to Slack.
Content teams rarely know what their documentation corpus actually contains. Pages accumulate, sections grow unevenly, and nobody looks until search feels off. This blueprint turns Meilisearch's facet search into a recurring inventory report: io.kestra.plugin.meilisearch.FacetSearch queries the section facet of the docs index, filtered to published pages, and a Slack digest carries the facet hit count every Monday morning. The full facet breakdown is stored as a file on the execution for anyone who wants the details.
facet_report (io.kestra.plugin.meilisearch.FacetSearch) searches the section facet of the docs_site index with the facet_query input and a filters entry restricting results to status = published. The task exposes the number of matching facet values as {{ outputs.facet_report.totalHits }} and the full facet result set as a file at {{ outputs.facet_report.uri }}.send_digest posts the scalar count and the query to Slack, pointing readers at the execution for the complete breakdown.errors block posts a distinct Slack alert on failure, with the most common cause named directly: the facet attribute is not configured as filterable.Schedule trigger sends the digest every Monday at 08:00.filters example showing how to scope facet reports to published content only.facet_query.A facet query is one API call, but a report is a habit: it needs a schedule, a place where the full results live, a message where the team already reads, and an alert when the query breaks. Kestra provides all four in a two-task flow, and the execution history becomes a weekly time series of corpus snapshots for free.
section attribute declared as filterable, populated for example by the docs site ingest blueprint.status field if you keep the published filter, or remove the filters entry.MEILISEARCH_URL: Meilisearch connection URL, e.g. https://meilisearch.internal:7700.MEILISEARCH_KEY: Meilisearch API key with search permissions.SLACK_WEBHOOK_URL: Slack incoming webhook URL.section and status as filterable attributes on your index.disabled: false on the weekly trigger.ForEach over facet names such as section, product, and version.