Hey all, just a really quick thought I had today about an interesting use case I’ve been thinking of.
In really simple terms, what I’d love to do is kick off an automation with parameters from the macOS terminal command line, and have the automation respond back in the terminal with output.
Any thoughts on if this is achievable? and if so, how you’d go about it?
Welcome to the Make community!
You can use a Custom Webhook as the scenario trigger, and Webhook Response to send the result back to your terminal.
Then, in your terminal you can type:
curl 'https://make-webhook-url.goes-here' --data-urlencode 'param1=value 1'
Repeat --data-urlencode 'param1=value 1'
for each variable you want to send to the scenario, or omit if no variables are needed.
For more information, see bash - How to urlencode data for curl command? - Stack Overflow
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!