Koskamo

Configure Algolia index settings and save records

The agent configures the Algolia index with specific search parameters like searchable attributes and custom ranking, then ingests data records into the index, ensuring the configuration is applied before data storage.

How it works

Changes data in your accountsSoftware development

The agent uses the DevEx MCP server to retrieve code snippets for updating index settings and saving records. It first fetches the snippet for `setSettings` to define searchable attributes, facets, and custom ranking, ensuring this happens before data ingestion to avoid unnecessary reindexing. It then fetches the snippet for `saveObjects` to ingest the user's data. The agent ensures the code waits for tasks to complete and uses the appropriate API keys (Write key for indexing) from environment variables.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Configure Algolia index settings and save records
Update index settings before the first saveObjects call. Changing searchable attributes later reindexes existing records. Set searchable attributes, facets, and custom ranking on INDEX_NAME with setSettings. Then save records with saveObjects and wait until indexing finishes.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Update settings before the first saveObjects call. Changing searchable attributes later reindexes existing records.
Add Algolia to your app with DevEx MCP - Algolia

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.