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 a cloud service that allows you to execute commands on your computers remotely through a REST API or via voice command with smart home integrators. With Pipedream's integration capabilities, you can create custom workflows to automate tasks across various apps and services. For instance, you could set up a serverless workflow to trigger scripts on your computer when specific events occur in other apps, such as receiving an email, a new GitHub commit, or a scheduled timer.
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,
})
},
})
Remote System Administration: Trigger virus scans or system updates on your remote machines when a security alert is received from an app like SentinelOne. This ensures that your systems are always up to date with the latest security patches without manual intervention.
DevOps Automation: Automatically run deployment scripts on your server when a new commit is pushed to a specific branch in your GitHub repository. This workflow can streamline your CI/CD pipeline, making the deployment process more efficient and error-free.
Smart Home Integration: Link TRIGGERcmd with smart home apps like SmartThings to execute commands on your PC in response to smart home triggers, such as turning off your computer when your smart thermostat detects you've left home, or starting a backup when your smart lock is activated at night.
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}}