# Set up the voice-note shortcut (instructions for an AI agent)

Source page for humans: https://voice-note.dromlin.com/

## Goal
Help the user set up a shortcut that records their voice and sends it as an iMessage to a chosen recipient, in one go. Use the user's own device and accounts. Do not invent steps; if you cannot do a step, tell the user exactly what to tap.

## Ask the user first
1. Mac, iPhone, or both?
2. Who should receive the voice notes? The ready-made downloads send to Instinct at +12484319142. If the user wants a different recipient, get their phone number with country code (for example +353...) or the contact name. Confirm before changing anything.

## Ready-made shortcuts (quickest)
- Mac: https://www.icloud.com/shortcuts/f7db05e504cd4cc2b83ac93e87327279
- iPhone: https://www.icloud.com/shortcuts/6fdbf16c527e4df5b3e558ca8d67b623
Opening the link on that device and tapping Add Shortcut installs it. Adding a shortcut is a user action in the Shortcuts app; ask the user to do it if you cannot.

## Build by hand: iPhone
1. Shortcuts app, new shortcut.
2. Add action: Record Audio.
3. Add action: Send Recorded Audio. Choose the recipient (a contact who can receive iMessage).
4. Run it and talk. The recording goes to the recipient as an iMessage.
5. Optional launch methods: Settings > Action Button > Shortcut (iPhones with an Action Button), or Settings > Accessibility > Vocal Shortcuts > Set Up to run it with a phrase the user chooses.

## Build by hand: Mac
Needs Messages signed in to iMessage. The simple two-action version did not send reliably on the author's Mac, so use a script.
1. Shortcuts app, new shortcut.
2. Add action: Record Audio.
3. Add action: Run AppleScript, with its input set to Recorded Audio.
4. Paste this script into the action. To change the recipient, edit the number on the "set theBuddy" line (keep the country code and the leading +).

```applescript
on run {input, parameters}
	set stagingDir to (POSIX path of (path to pictures folder from user domain)) & "InstinctStaging/"
	do shell script "mkdir -p " & quoted form of stagingDir
	set stagedPath to stagingDir & "instinct-voice-" & (do shell script "uuidgen") & ".m4a"
	set sourcePath to missing value
	try
		set sourcePath to POSIX path of (item 1 of input)
	on error
		set sourcePath to item 1 of input as text
	end try
	do shell script "cp " & quoted form of sourcePath & " " & quoted form of stagedPath
	set stagedFile to POSIX file stagedPath
	tell application "Messages"
		set targetService to first service whose service type = iMessage
		set theBuddy to buddy "+12484319142" of targetService
		send stagedFile to theBuddy
	end tell
end run
```

5. Run the shortcut, talk, press Stop when finished. The recording sends automatically, with no Send tap.
6. If macOS asks whether Shortcuts may control Messages, the user should allow it.

Notes: each recording is copied to Pictures/InstinctStaging so Messages can attach it; the copies stay until the user deletes that folder.

## Check it worked
- Ask the user to send a short test note and confirm the recipient received it.
- If nothing arrives: check the number has the country code and can receive iMessage; check the Messages automation permission on Mac; on iPhone check the recipient in the Send action.

## Honest limits
The Mac version is confirmed working on one Mac (26 Nov 2026). The iPhone version is the two-action shortcut the author runs from the lock screen. This guide has not been tested with an agent installing the shortcut automatically, so it makes no promise either way. What an agent can do depends on its own tools and on what the user has allowed it on their device. If you can operate the user's device within the permissions they have given you, you may follow the steps yourself. For any step you cannot do, or that needs a tap or a system permission prompt only the user can give, tell the user exactly what to tap.
