{
  "name": "VidWords — Fetch YouTube Transcript",
  "flow": [
    {
      "id": 1,
      "module": "http:ActionSendData",
      "version": 3,
      "parameters": {
        "handleErrors": false,
        "useNewZLibDeCompress": true
      },
      "mapper": {
        "url": "https://vidwords.com/api/transcripts",
        "method": "post",
        "headers": [
          { "name": "Authorization", "value": "Basic YOUR_API_TOKEN" },
          { "name": "Content-Type", "value": "application/json" }
        ],
        "qs": [],
        "bodyType": "raw",
        "contentType": "application/json",
        "data": "{\n  \"ids\": [\"jNQXAC9IVRw\"],\n  \"lang\": \"en\"\n}",
        "parseResponse": true
      },
      "metadata": {
        "designer": { "x": 0, "y": 0 },
        "restore": {
          "expect": {
            "method": { "label": "POST" },
            "bodyType": { "label": "Raw" },
            "contentType": { "label": "JSON (application/json)" }
          }
        },
        "notes": "Replace YOUR_API_TOKEN with the token from your VidWords profile. Edit the ids array, then run."
      }
    }
  ],
  "metadata": {
    "instant": false,
    "version": 1,
    "scenario": {
      "roundtrips": 1,
      "maxErrors": 3,
      "autoCommit": true,
      "sequential": false,
      "confidential": false,
      "dataloss": false,
      "dlq": false
    },
    "designer": { "orphans": [] }
  }
}
