← TRIGGERcmd

Trigger a command with TRIGGERcmd API

Pipedream makes it easy to connect APIs for TRIGGERcmd and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Trigger a command with the TRIGGERcmd API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Trigger a command with the TRIGGERcmd API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Trigger a command action
    1. Connect your TRIGGERcmd account
    2. Configure Computer Name
    3. Configure Trigger Name
    4. Optional- Configure Command parameters
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Trigger a command with TRIGGERcmd API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on New Message from Discord API
Discord + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on New Message in Channel from Discord Bot API
Discord Bot + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on New Submission from Typeform API
Typeform + TRIGGERcmd
 
Try it
Trigger a command with TRIGGERcmd API on Custom Events from Zoom API
Zoom + TRIGGERcmd
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger a command on TRIGGERcmd
Description:Runs a command on a computer. Refer to the [TRIGGERcmd Forum](https://triggercmd.com/forum) to learn more.
Version:0.0.1
Key:triggercmd-trigger-command

Code

import triggercmd from "../../triggercmd.app.mjs";

export default {
  name: "Trigger a command",
  version: "0.0.1",
  key: "triggercmd-trigger-command",
  description: "Runs a command on a computer. Refer to the [TRIGGERcmd Forum](https://triggercmd.com/forum) to learn more.",
  type: "action",
  props: {
    triggercmd,
    computer: {
      type: "string",
      label: "Computer Name",
      description: "The name of the computer",
    },
    trigger: {
      type: "string",
      label: "Trigger Name",
      description: "The name of the command trigger",
    },
    params: {
      type: "string",
      label: "Command parameters",
      description: "Parameters for your command",
      optional: true,
    },
  },
  async run({ $ }) {
    const message = await this.triggercmd.trigger(this.computer, this.trigger, this.params, $);

    $.export("$summary", "Successfully triggered comand");

    return message;
  },

};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
TRIGGERcmdtriggercmdappThis component uses the TRIGGERcmd app.
Computer Namecomputerstring

The name of the computer

Trigger Nametriggerstring

The name of the command trigger

Command parametersparamsstring

Parameters for your command

Authentication

TRIGGERcmd uses OAuth authentication. When you connect your TRIGGERcmd account, Pipedream will open a popup window where you can sign into TRIGGERcmd and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any TRIGGERcmd API.

Pipedream requests the following authorization scopes when you connect your account:

About TRIGGERcmd

TRIGGERcmd is a cloud service that allows you to securely and remotely run commands on your computers. Your commands could install updates, open your garage, run a script, or anything else you decide.