# Merging Audio and Video using Zapier

**URL:** <https://community.transloadit.com/t/merging-audio-and-video-using-zapier/16394>\
**Category:** Transloadit\
**Created:** [December 19, 2022, 3:06am UTC](https://community.transloadit.com/t/merging-audio-and-video-using-zapier/16394 "2022-12-19T03:06:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quidsibi](https://avatars.discourse-cdn.com/v4/letter/q/9fc348/32.png) [@quidsibi](https://community.transloadit.com/u/quidsibi)\
**Post date:** [December 19, 2022, 3:06am UTC](https://community.transloadit.com/t/merging-audio-and-video-using-zapier/16394/1 "2022-12-19T03:06:22Z")

</div>

Haven’t been able to find the documentation I’m looking for in regards to this, so hoping someone here can help.

I’m looking to merge an audio file and a video file automatically using zapier, however I cannot figure out how to properly send the files to the proper places in the template.

The template I’m using:

```auto
{
  "steps": {
    ":original": {
      "robot": "/upload/handle"
    },
    "imported_video": {
      "robot": "/http/import",
      "url": "https://demos.transloadit.com/inputs/big-buck-bunny-10s.mp4"
    },
    "replaced_audio_track": {
      "use": [
        {
          "name": ":original",
          "as": "audio"
        },
        {
          "name": "imported_video",
          "as": "video"
        }
      ],
      "robot": "/video/merge",
      "result": true,
      "ffmpeg_stack": "v4.3.1",
      "preset": "iphone-high"
    },
    "exported": {
      "use": [
        "imported_video",
        "replaced_audio_track",
        ":original"
      ],
      "robot": "/youtube/store",
      "credentials": "Quid Sibi Media",
      "category": "people & blogs",
      "description": "Some description",
      "keywords": "testing, example",
      "title": "Some title"
    }
  }
}

```

The error that I’m receiving after passing through a file to be merged:

```auto
node:events:491 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open 'public' Emitted 'error' event on ReadStream instance at: at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'open', path: 'public' }

```

Gonna be honest I have no idea what I’m doing with this, so happy to provide more info if needed.
