Add account to Mastodon list

Grabs the account from any Mastodon link and lets you pick which Lists to add them to.

Actions Used

shortcuts-action-icon-repeat-with-each.webp
Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-get-dictionary-from-input.webp
Get Dictionary from Input
Makes a dictionary from the text passed as input. JSON (like {“foo”: “bar”}), key-value pairs (like foo=bar&baz=biz), and XML-based plist are supported.
shortcuts-action-icon-get-dictionary-value.webp
Get Dictionary Value
Gets the value for the specified key in the dictionary passed into the action.
shortcuts-action-icon-dictionary.webp
Dictionary
Passes the specified list of key-value pairs to the next action as a dictionary.
shortcuts-action-icon-set-dictionary-value.webp
Set Dictionary Value
Sets a value in the dictionary passed into the action.
shortcuts-action-icon-file.webp
Filter Files
Given a list of files, this action returns the files that match the given criteria. Allows for sorting, changing the order, and limiting the number passed as a result.
shortcuts-action-icon-get-contents-of-url.webp
Get Contents of URL
Gets the contents of URLs passed into the action. Useful for downloading files and web content, or for making API requests. Includes GET, POST, PUT, PATCH, DELETE methods, and options to add headers. To make a multipart HTTP request, choose “Form” as the request body type and add files as field values.
shortcuts-action-icon-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
shortcuts-action-icon-url.webp
URL
Passes the specified URL to the next action.
shortcuts-action-icon-get-component-of-url.webp
Get Component of URL
Gets the specified part of the URL passed into the action. URLs are structured as follows: scheme://user:password@host:port/path?query#fragment.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-split-text.webp
Split Text
Separates text passed into the action into a list.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-run-shortcut.webp
Run Shortcut
Run an shortcut from your shortcut.
shortcuts-action-icon-get-item-from-list.webp
Get Item from List
Returns one or more items from the list passed as input. You can get the first item, the last item, a random item, the item at a particular index, or items in a range of indexes.
shortcuts-action-icon-choose-from-list.webp
Choose from List
Presents a menu of the items passed as input to the action and outputs the user’s selection. Prompt The instruction provided when the list is presented. Select Multiple When enabled, multiple items may be chosen from the list.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
shortcuts-action-icon-list.webp
List
Allows you to specify a list of items to be passed to the next action.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Add%20account%20to%20Mastodon%20list
Open Shortcut deep link
shortcuts://open-shortcut?name=Add%20account%20to%20Mastodon%20list
AppleScript code
tell application “Shortcuts Events” run shortcut “Add account to Mastodon list” end tell

Related Posts

How to extract Mastodon instance & handle data using Shortcuts
New for members: Mastodon Lists shortcuts

More From This Folder

More From The Library


Get way deeper into Shortcuts – become a member.