Official scripts
Explore our curated collection of scripts
Add tracks to a Spotify playlist
Add one or more tracks to the end of a playlist the signed-in Spotify account can edit, in the order given. Spotify accepts duplicates, so a track already in the playlist is added again. Returns the playlist's track count before and after, so the addition can be checked. Use remove_tracks_from_playlist to undo it.
Delete a Spotify playlist
Delete a playlist the signed-in Spotify account owns, as the player's Delete action does: it leaves the account's library and its followers can no longer find it. Returns the deleted playlist's id and name. The inverse of create_playlist.
Get tracks of a Spotify playlist
Read one page of 25 tracks of a Spotify playlist, or of your Liked Songs, as the signed-in user: the playlist uri and name, its total track count, and for each track its position, uri, name, artists, album, duration, play count and when and by whom it was added. Pass offset to read the next pages; next_offset is null after the last page. An empty playlist returns no tracks.
Remove tracks from a Spotify playlist
Remove tracks from a playlist the signed-in Spotify account can edit. Every occurrence of each given track is removed. A track that is not in the playlist is reported in not_found and left alone; if none of them is in it, nothing is changed. Returns the playlist's track count before and after. The inverse of add_tracks_to_playlist.
Create a Spotify playlist
Create a playlist on the signed-in Spotify account, with a name, an optional description, and private (the default) or public. Returns the new playlist's id, uri and link, with the name, description and visibility read back from Spotify after saving. Spotify allows several playlists with one name, so calling it twice creates two. Use delete_playlist to undo it.
Get TikTok music info
Get a TikTok sound's metadata by music id: title, author, duration, video count, original/commercial flags, cover and play URL. Complements get_music_videos (which lists the videos using the sound).
Get TikTok sound/music videos
List videos that use a given TikTok sound, by music id, up to `count`.
Search Google Play apps
Search the Google Play Store for apps by keyword: package id, name, developer, rating, and icon for each result. No login required.
Like a TikTok video
Like a TikTok video (as the logged-in account) by URL or id. Safe to repeat: it does nothing if you already liked it.
List Shopify store products
Lists products from the signed-in Shopify admin, optionally filtered by tag or a free-text search, with each product's title, status, vendor, type, tags, inventory and link.
Get Google Play app details
Fetch an Android app's store listing details: name, description, developer, category, rating, review count, price, and icon. No login required.
Like YouTube video
Like a YouTube video — has no effect if it's already liked.
Get Google Play app reviews
Fetch reviews for an Android app from its Google Play Store listing: reviewer name, star rating, date, and review text. No login required.
Shopify: list invoices
List a Shopify store's billing invoices — number, date, type, status, amount and invoiceUrl — for the store the signed-in account lands on. Metadata only: feed a row's invoiceUrl to admin.shopify.com/download_invoice to fetch that invoice's PDF. A store that has never been invoiced returns an empty list. Deactivated stores still return their full invoice list, even when their PDFs are unavailable.
Update a Shopify product's price
Changes the price and/or compare-at price of a product in the signed-in Shopify store, found by its id, admin link or handle, then reads the product back to confirm the new prices. For a product with several variants, pick one variant or apply the change to all of them. Prices already at the target are left alone. A rehearsal mode shows the current and new prices without changing anything.
Get TikTok post analytics
Read the TikTok Studio analytics for one of your own posts (video or photo), given its URL or id. Returns views, likes, comments, shares, saves, total play time, average watch time, finish rate, new followers and traffic sources (For You, Follow, Search…). Metrics TikTok hasn't computed yet (it needs more views) come back as null. Read-only. It fails with a clear error if the post isn't on the signed-in account.
Shopify store admin login (Google SSO)
Log into a Shopify store admin via Google SSO — clicks 'Continue with Google' on accounts.shopify.com, picks the account, skips the passkey-enrollment prompt if shown, then opens admin.shopify.com/store/<store>. Pass the store handle.
Audit a Shopify store
Gives a health check of the signed-in Shopify store: its name, domain, plan and currency; how many products it has by status, how many orders in the last 30 days and how many customers; and a list of catalogue problems to fix, such as products with no image, no description, a zero price, or active products that are out of stock. Read-only.
Get TikTok user favorites
List the videos a TikTok user has added to their Favorites (their Favoris tab), by @username. Returns [] unless the account has set Favorites to public (private by default).
List Shopify store orders
Lists orders from the signed-in Shopify admin, with the order number, customer, total, payment and fulfilment status and date.
Get G2 product reviews
Fetch reviews for a G2 product from its Reviews page: reviewer name, role, rating, date, title, and the like/dislike/problems-solved answer sections. No login required.
Get TikTok video
Get a TikTok video's caption, stats, author, music, hashtags and metadata by URL or video id.
Get TikTok notifications
List the logged-in account's activity notifications (the Activité inbox): likes, follows, comments and mentions received, newest first. Each notification carries who triggered it, the target video/comment, and read state.
Get a Shopify order
Returns the full details of one order in the signed-in Shopify store, found by its order number, id or admin link: customer, contact details, payment and fulfilment status, subtotal, shipping, tax, discounts and total, shipping and billing addresses, and every line item with its quantity and price.
Get TikTok user liked videos
List the videos a TikTok user has liked (their Liked tab), by @username. Returns [] unless the account has set Liked videos to public (private by default).
