A CarPlay startup shortcut runs when your iPhone connects to CarPlay. Set up a CarPlay > Connects automation for the shortcut you want to run. Engine startup, charging, and ordinary Bluetooth pairing are different events.
In this guide
Build the action before connecting it to the car
Open Shortcuts, tap the plus button, then Add Action. Choose a category such as Media and add the action you want. Start with one action so you have a specific result to check.
Choose the details the action needs while you're parked. A routine that asks which playlist to use every time still needs an answer, even if the connection trigger runs automatically. Choose a fixed option when the action lets you.

Tap the shortcut to run it, granting any permissions it requests. Check the actual result, such as whether the chosen music starts. A shortcut that fails when tapped needs attention before the CarPlay trigger can help.
Name it for the job it does, such as Drive Music. A descriptive name helps you pick the right routine for the automation, especially if the app already contains several routines downloaded from the Gallery.
I'd get one action working first. When a routine starts with several apps and permission prompts, a failed run gives you much less information about which part needs changing.
Attach the CarPlay connection trigger
On iOS 27, open an existing shortcut, tap Edit > Automation, and choose CarPlay > Connects. The current automation instructions use this route.

Connects starts the routine when the device connects to CarPlay. Disconnects is the separate choice for leaving that connection. Select the first for a startup routine and save the automation using the controls your iPhone presents.
On iOS 26, open Shortcuts > Automation. Tap the plus button if needed, then Create Personal Automation when offered. Choose CarPlay > Connects, then Next.
On the action-selection screen, choose your prepared shortcut. Where the screen offers New Blank Automation, that route lets you add Run Shortcut and select the routine there. Finish saving rather than leaving the trigger screen open.
Both routes use the same connection event. Follow the one shown by your iOS version. Creating two automations for the same job can run the routine twice.
Remove the confirmation that stops an automatic run
Apple says CarPlay automations can run automatically. Where the choices are Run Immediately and Run After Confirmation, choose Run Immediately to launch without a tap.
Older automation screens use Ask Before Running instead. Turn that off and confirm the change. That lets the connection start the shortcut without asking; it doesn't answer a question inside the shortcut itself.
The current Shortcuts guide also puts Allow Running When Locked in the shortcut's Edit > Info > Privacy controls. Enable it for a routine intended to start while the phone is locked, when that option is available.
Some actions need permission or a response. If the routine stops at a menu or opens an app that wants attention, return to that action's settings. Letting an automation start doesn't give it every permission an app needs.

For the first check, watch the result on your unlocked phone while parked. After that succeeds, try a new connection with the phone locked. This shows whether the connection starts the shortcut or an action needs the phone unlocked.
Reconnect CarPlay to check the finished routine
Disconnect CarPlay, then connect it again in your normal way. A wired setup needs a working CarPlay data connection through the cable. A wireless setup needs the car to finish connecting, rather than just detecting a nearby phone.
Wait for the car's CarPlay screen before judging the action. If the phone gains power but CarPlay never appears, use the charging-only CarPlay checks.
Check that the shortcut did what you wanted. A music routine should start the selected content; a settings shortcut should leave the setting as you chose it. A run notification isn't confirmation that every action finished.
A fresh connection triggers the action again. If CarPlay drops and reconnects during a trip, the startup routine can repeat. Fix that connection or choose an action that's acceptable to repeat.
Choose the right event for what startup means
An engine can start without the iPhone connecting to CarPlay. The reverse can also happen: a car's infotainment system can connect while you're still parked. This automation follows the phone's connection, not the ignition switch.
Use a Bluetooth trigger for a car that only supports Bluetooth audio. Use a Charger trigger for plugging the phone into power. Neither is a substitute for CarPlay Connects when the task should happen only after CarPlay connects.
The same distinction matters with wireless adapters. If the adapter reconnects more than once, the shortcut can receive more than one signal to start. Check the adapter's connection behavior before changing a working shortcut's actions.
For a task you want to request at a chosen moment, enable Siri for CarPlay. A voice command lets you decide when it runs.
Fix the part that failed
If tapping works but connecting doesn't, check the automation's CarPlay, Connects, and selected shortcut choices. Check automatic running too. A similarly named Bluetooth automation can be easy to mistake for it.
If tapping also fails, check the first action's permissions and the details it needs. Add later actions after that one succeeds, so you can see which step stops.
For a supported action that still fails, use Apple Support's Shortcuts help or the action app's support page. Give the iOS version, action name, and whether tapping the shortcut with the phone unlocked works.
The Short Version
Run the shortcut first, then attach CarPlay > Connects. Choose automatic running and locked-phone access where offered. Reconnect while parked and check the result; the event follows CarPlay rather than the engine.
Checked December 2, 2026.







