MoDeck

Create video templates in After Effects, make them editable online by anyone. You control the creative, let your team control the content.

Integrate the MoDeck API with the Bash API

Setup the MoDeck API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate MoDeck and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Render Completed from MoDeck API
MoDeck + Bash
 
Try it
New Render Completed from the MoDeck API

Emit new event when a render is completed.

 
Try it
Create Render with the MoDeck API

Create a new edit with the data supplied. See the documentation

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of MoDeck

The MoDeck API offers an interface for managing playlists and videos within their platform, providing endpoints for various operations like retrieving video details, updating playlists, or managing users. Integrating MoDeck with Pipedream allows you to automate interactions with your MoDeck data, such as syncing playlists, updating video statuses, or triggering actions based on video analytics. With Pipedream's serverless platform, you can build powerful workflows that react to events in real-time, schedule tasks, and connect MoDeck with hundreds of other services.

Connect MoDeck

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    modeck: {
      type: "app",
      app: "modeck",
    }
  },
  async run({steps, $}) {
    const data = {
      "apiKey": `${this.modeck.$auth.api_key}`,
    }
    return await axios($, {
      method: "POST",
      url: `https://api.modeck.io/listdecks`,
      data,
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS