---
title: Process data
description: Transform and reshape data with Flux, including assigning custom states and constructing JSON payloads.
url: https://docs.influxdata.com/flux/v0/process-data/
estimated_tokens: 128
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/process-data/
date: '2026-06-30T16:01:54-05:00'
lastmod: '2026-06-30T16:01:54-05:00'
---

Process and transform data with Flux:

* [Assign custom states](#assign-custom-states)
* [Construct JSON with reduce()](#construct-json-with-reduce)

### [Assign custom states](/flux/v0/process-data/assign-custom-states/)

Learn how to overcome a limitation of `monitor.stateChangesOnly()` and assign custom states to your data.

### [Construct JSON with reduce()](/flux/v0/process-data/construct-json-with-reduce/)

Learn how to send multiple points with `http.post()` by creating a JSON object with `reduce()`.
