{
  "name": "Rendex — Render HTML to a PNG (HTTP module)",
  "flow": [
    {
      "id": 1,
      "module": "http:ActionSendData",
      "version": 3,
      "parameters": {
        "handleErrors": false,
        "useNewZLibDeCompress": true
      },
      "mapper": {
        "url": "https://api.rendex.dev/v1/screenshot",
        "method": "post",
        "headers": [
          {
            "name": "Authorization",
            "value": "Bearer rdx_YOUR_API_KEY"
          }
        ],
        "qs": [],
        "bodyType": "raw",
        "contentType": "application/json",
        "data": "{\n  \"html\": \"<h1>Hello {{1.name}}</h1>\",\n  \"format\": \"png\"\n}",
        "serializeUrl": false,
        "shareCookies": false,
        "parseResponse": false,
        "followRedirect": true,
        "useQuerystring": false,
        "followAllRedirects": false,
        "timeout": "",
        "ca": "",
        "rejectUnauthorized": true,
        "gzip": true,
        "useMtls": false
      },
      "metadata": {
        "designer": {
          "x": 0,
          "y": 0,
          "name": "Rendex — Render HTML to PNG"
        },
        "restore": {
          "expect": {
            "method": {
              "mode": "chose",
              "label": "POST"
            },
            "headers": {
              "mode": "chose"
            },
            "bodyType": {
              "label": "Raw"
            },
            "contentType": {
              "label": "JSON (application/json)"
            }
          }
        },
        "notes": "Send EXACTLY ONE source field — html OR url OR markdown. The default /v1/screenshot endpoint returns the raw PNG bytes; map the module's binary Data into a downstream Google Drive Upload or Email attachment. Need a hosted URL or base64 instead? POST to /v1/screenshot/json and set parseResponse to true, then read data.image."
      }
    }
  ],
  "metadata": {
    "instant": false,
    "version": 1,
    "scenario": {
      "roundtrips": 1,
      "maxErrors": 3,
      "autoCommit": true,
      "autoCommitTriggerLast": true,
      "sequential": false,
      "confidential": false,
      "dataloss": false,
      "dlq": false,
      "freshVariables": false
    },
    "designer": {
      "orphans": []
    },
    "zone": "us1.make.com"
  }
}
