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.
Go to siteTRIGGERcmd is an innovative cloud-based automation platform with a user-friendly API that allows you to control your digital world from anywhere. With the TRIGGERcmd API, you can access everything from medical equipment to home entertainment systems, and even software development tools. No matter what type of system you're trying to manage, TRIGGERcmd can help you get it done quickly and easily. Here are just a few of the possibilities:
You can use the TRIGGERcmd API to take control of your digital world. Whether you're a medical professional, a software developer, or a home entertainment enthusiast, the TRIGGERcmd API can help you get the most out of your systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
triggercmd: {
type: "app",
app: "triggercmd",
}
},
async run({steps, $}) {
const data = {
"computer": `insert_computer_name_here`,
"trigger": `insert_trigger_name_here`,
}
return await axios($, {
method: "post",
url: `https://www.triggercmd.com/oauth/pipedream`,
headers: {
Authorization: `Bearer ${this.triggercmd.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Runs a command on a computer. Refer to the TRIGGERcmd Forum to learn more.
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:
GET
https://www.triggercmd.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://www.triggercmd.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://www.triggercmd.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}