# GitHub issues JSON to CSV reporting workflow

**Use case:** 

Flatten live GitHub issues, join labels, select reporting columns, and schedule repeat CSV exports on Apify.

## Input

```json
{
  "jsonText": "{\"records\":[{\"id\":1,\"customer\":{\"name\":\"Ada Lovelace\"},\"status\":\"active\"},{\"id\":2,\"customer\":{\"name\":\"Grace Hopper\"},\"status\":\"active\"}]}",
  "jsonUrls": [
    {
      "url": "https://api.github.com/repos/apify/crawlee/issues?state=open&per_page=10"
    }
  ],
  "recordPath": "",
  "flatten": true,
  "flattenSeparator": ".",
  "arrayMode": "join",
  "arrayJoinSeparator": " | ",
  "columns": [
    "number",
    "title",
    "state",
    "user.login",
    "labels",
    "created_at",
    "html_url"
  ],
  "delimiter": "comma",
  "includeBom": false,
  "maxRows": 10,
  "onError": "fail"
}
```

## Output

```json
{
  "source": {
    "label": "Source",
    "format": "string"
  },
  "rowCount": {
    "label": "CSV rows",
    "format": "integer"
  },
  "columns": {
    "label": "Columns",
    "format": "array"
  },
  "preview": {
    "label": "Row preview",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [JSON to CSV Converter](https://apify.com/automation-lab/json-to-csv-converter) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/json-to-csv-converter) to learn more, explore other use cases, and run it yourself.