How to Create an Action in Node.js with Trakt Component without Code?

This topic was automatically generated from Slack. You can find the original thread here.

Hey, when create an action in Nodejs with Trakt component is coming without code, my suggestion is

import { axios } from "@Pipedream/platform"

export default defineComponent({
  props: {
    trakt: {
      type: "app",
      app: "trakt",
  async run({steps, $}) {
    return await axios($, {
      url: ``,
      headers: {
        "Authorization": `Bearer ${this.trakt.$auth.oauth_access_token}`,
        "trakt-api-key": this.trakt.$auth.oauth_client_id


cc it looks like the Trakt app is missing Node scaffolding

Sorry about that - not sure where that went. Can you try again Lucas?

Perfect, working now!