This n8n workflow automates posting Amazon affiliate products to Mastodon β complete with image upload, description, and a shortened tracking URL using Shlink. π§ How it works Input Source: The workflow starts by reading from a connected Google Sheet that contains: 1. SHlink (Shortlink) 2. Amazon Link 3. Description (Optional) 4. PicURL 5. Send /NO or YES A Send column (used as a flag to check if the row was already posted) Image Upload: It fetches the product image via HTTP and uploads it direc

This n8n workflow automates posting Amazon affiliate products to Mastodon β complete with image upload, description, and a shortened tracking URL using Shlink. π§ How it works Input Source: The workflow starts by reading from a connected Google Sheet that contains: 1. SHlink (Shortlink) 2. Amazon Link 3. Description (Optional) 4. PicURL 5. Send /NO or YES A Send column (used as a flag to check if the row was already posted) Image Upload: It fetches the product image via HTTP and uploads it directly to a Mastodon instance via the /media API endpoint. URL Shortening (Shlink): The original Amazon URL is shortened using your self-hosted or cloud-hosted Shlink instance to enable click tracking and better presentation. Text Generation: A two-line promotional text is automatically generated using a Language Model (LLM), based on the product description. Posting to Mastodon: The post is then published on Mastodon with: 1. The image 2. The generated text 3. The shortened Shlink URL Row Update: Once published, the Send column in the Google Sheet is updated to "YES" to prevent duplicates. Requirements β Shlink β Required for shortening and tracking Amazon URLs β Google Sheet β Used as a product queue and post β Google Sheet Example β Mastodon account β OAuth2 credentials with write scope β Product image URL β Must be valid and accessible β n8n credentials β Set up for Google Sheets, Mastodon, and optionally OpenRouter or other LLM providers This workflow is ideal for content creators, affiliate marketers, and automation fans who want to save time and optimize reach across the Fediverse. affiliate #amazon #mastodon #advertisment
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.