Can I Start a Job from Slack or Email?

Is it possible to trigger a Mitto job or sequence by sending a slack message or sending an email to an address? Are there alternative ways of starting a job outside of the typical job scheduler or through the UI?

1 Like

You can use the Mitto API to start a job using any mechanism that can send a POST request.

Here’s an example using CURL:

curl -X POST "https://{mitto_url}/api/v2/jobs/{job_id}/:actions?API_KEY={api_key}" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"action\":\"START\"}"

Authentication is handled with the Mitto API key.

To specifically answer your question @greg.rossi, I don’t know of a way that Slack or Emails can send POST requests. So, Slack and Emails can’t start Mitto jobs.