Last updated April 2026
Save Bookmarks from Alfred
The Save This One Alfred workflow lets you save the current browser tab as a bookmark with a keyword. Type your trigger, hit enter, done. Free.
Save the current browser tab or a specific URL with an Alfred keyword. Requires Alfred Powerpack.
Setup
You need your API token. In the web app sidebar, click the key icon, then Generate Token and Copy.
Create the workflow
- Alfred Preferences > Workflows > + > Blank Workflow, name it Save Bookmark
- Add trigger: right-click canvas > Triggers > Keyword
- Keyword: bm - Argument: Optional - Title: Save Bookmark
- Add action: right-click canvas > Actions > Run Script
- Language: /bin/bash - With input as: {query} - Paste the script below
- Add output: right-click canvas > Outputs > Post Notification
- Title: Save Bookmark - Text: {query}
- Connect: Keyword > Run Script > Post Notification
API_URL="https://app.savethisone.com/api/bookmarks"
API_TOKEN="YOUR_API_TOKEN"
url="{query}"
if [ -z "$url" ]; then
url=$(osascript -e '
tell application "System Events"
set frontApp to name of first process whose frontmost is true
end tell
if frontApp is "Safari" then
tell application "Safari" to return URL of current tab of front window
else if frontApp is "Google Chrome" then
tell application "Google Chrome" to return URL of active tab of front window
else if frontApp is "Arc" then
tell application "Arc" to return URL of active tab of front window
else
return ""
end if
')
fi
if [ -z "$url" ]; then
echo "No URL found"
exit 1
fi
response=$(curl -s -w "\n%{http_code}" -X POST "$API_URL" \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"url\": \"$url\"}")
http_code=$(echo "$response" | tail -1)
if [ "$http_code" = "201" ]; then
echo "Saved!"
else
echo "Failed (HTTP $http_code)"
fi
Save a bookmark
bm+ Enter: saves the current browser tabbm https://example.com: saves a specific URL
Troubleshooting
- "Failed (HTTP 401)": Token is wrong, or it was regenerated. Copy a fresh one from the web app.
- "No URL found": A browser window needs to be in front, or pass a URL directly.
- Workflow not triggering: Check that the Powerpack license is active.