In this video, Iāll show you how to set up a Siri-activated AI Agent using n8n and Apple Shortcuts. With just a voice command, youāll be able to send a voice command to an AI Agent
Make it your own by adding steps, modifying inputs, and integrating with other apps. For example, change the shortcut to take an image instead, process that with a vision model and save it to a CRM.
I love that Shortcuts can send http requests. Itās a great way to bypass a lot of the bugs that still remain in Shortcuts. I use a similar workflow to write blog posts from simple voice prompts. Tons of fun!
Thatās so great to hear. Theyāre fun arnāt they? Maybe itās because Iām new to them but I always feel a little sci fi still when itās running
Thanks for sharing how you use shortcuts. Always good for inspo!
I have tried this workflow and it is working as long as the n8n workflow takes less than 10 seconds, if the n8n workflow takes longer than 10 seconds my iphone is after 10 seconds saying that āEr is iets misgegaan, Probeer het opnieuwā (something went wrong, please try again).
When I checked my workflow in n8n it has properly completed the request.
So all the red executions which took longer 10 seconds resulted in āsomething went wrong, please try againā message on my iphone.
People are mentioning a timeout of 25 -60 seconds for the āget contentsā siri action. In my case I am getting the timeout message already after 10 seconds. Maybe it is because I am using http instead of https as my get contents URL in siri. (FYI I am running n8n locally).
The timeout is not coming from n8n as it is working fine when triggering the flow using following curl command from my macbook (in same network).
curl --request POST --json ā{ āinputā: āWie%20is%20de%20langste%20voetballer%20ter%20wereldā }ā ``http://nuc2.lan:5678/webhook/assistant
I managed to fix it by modifying my iphone shortcut a little bit:
I added a āSpeakā action just before the āGet contentsā action. If you do that then the shortcut is waiting much longer than 10 seconds for āGet contentsā to return a response.