Skip to main content
Transformations reshape your before Algolia writes them to an . Use transformations to:
  • Change attributes. Rename or remove attributes.
  • Compute new attributes. Derive new attributes from existing ones, such as a discounted price or a ranking signal.
  • Filter or split records. Drop records that shouldn’t be searchable, such as test products, or split one record into several.
  • Enrich records. Add data from third-party APIs, such as translations or currency conversions, with Fetch.
To get started, decide where your transformations should run and how much code you want to write and maintain.

Where transformations run

Algolia can run transformations for you, or you can run them in your own code.
  • In Algolia, during ingestion. Attach a transformation to a connector task, and Algolia hosts and runs it while it ingests your records. Records come from a connector source or from your app through the Push to Algolia connector.
  • In Algolia, after indexing. The Algolia Index connector reads records from an index, transforms them, and writes them back. Use it to correct indexed records without re-sending them from the source. For more information, see Post-indexing transformations.
  • In your own code, before you send records. Write any logic you need, including operations across records, such as deduplicating records. You build, run, and monitor the transformations.

Choose how much code to write

You can build an Algolia-managed transformation with a form, with AI filling in the form, or with JavaScript.
  • No code. Build the transformation from predefined steps in a form: add or update an attribute, remove an attribute, or remove records. Each step can include conditions that select which records it applies to. Use it for common reshaping without writing or maintaining code.
  • AI-assisted. Describe the change in plain English and let AI fill in the no-code form for you. The result is a no-code transformation. Review and adjust it before applying it.
  • Code. Write a JavaScript function that receives a record and returns zero, one, or more records. Use code for logic the other options can’t express, and for enriching records from third-party APIs with Fetch.

Limits

Each transformation in Algolia adds processing time to a connector task. For limits on transformation code size, runtime, memory usage, and Fetch requests, see Data transformation and Fetch limits.
Last modified on November 23, 2026