Amazon Affiliate to Mastodon: AI Descriptions & Shlink Tracking

Automates posting Amazon affiliate products to Mastodon with AI-generated descriptions, image uploads, Shlink tracking URLs, and Google Sheets integration to avoid duplicates.

n8n
Amazon Affiliate to Mastodon: AI Descriptions & Shlink Tracking

This n8n workflow streamlines affiliate marketing by pulling product data from a Google Sheet—including Amazon links, optional descriptions, image URLs, and a send flag—and automates the entire posting process to Mastodon. It fetches product images via HTTP, uploads them directly to your Mastodon instance using the media API, shortens the affiliate URL with Shlink for tracking and aesthetics, generates engaging two-line promotional text using an LLM like OpenRouter, and publishes the post with image, text, and shortened link. After posting, it updates the Google Sheet's send flag to 'YES' to prevent reposts.

Key benefits include time-saving automation for consistent social media presence, precise click tracking via Shlink, enhanced engagement through AI-crafted descriptions, and seamless image handling without manual intervention. It's perfect for affiliate marketers, content creators, and e-commerce promoters looking to scale Mastodon outreach without repetitive manual work.

Use cases: Ideal for bloggers promoting Amazon products, niche influencers building Mastodon audiences, or automated marketing campaigns where tracking conversions is crucial. Requires setup for Google Sheets, Mastodon OAuth2 (write scope), Shlink instance, and LLM credentials. Example sheet provided for quick start.

$19.99
Last updated November 14, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Development & IT workflows

More from Matt Buds

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.