Automate Amazon Affiliate Promotions to Mastodon
detail.loadingPreview
Streamline your Amazon affiliate marketing by automatically posting product updates to Mastodon. This workflow generates engaging ad copy and includes relevant product images, all driven by your Google Sheets data and monitored by SHLink.
About This Workflow
This n8n workflow empowers Amazon affiliates to effortlessly share their latest product promotions on Mastodon. It begins by fetching unposted affiliate links from a Google Sheet. Leveraging an LLM, it generates concise, technical ad copy based on the provided Amazon link. The workflow then retrieves the associated product image and uploads it to Mastodon. Finally, a post is created on your Mastodon instance, combining the AI-generated ad copy with the shlink.io URL of the product, ensuring all promotions are tracked. The Google Sheet is then updated to mark the item as 'Sent'.
Key Features
- Automated Mastodon Posting: Schedule and publish Amazon affiliate product updates directly to your Mastodon feed.
- AI-Generated Ad Copy: Utilizes a Language Model to create compelling, two-line technical ad copy for each product.
- Image & Link Integration: Automatically fetches and includes product images and shlink.io URLs in your Mastodon posts.
- Google Sheets Integration: Seamlessly reads from and updates your Google Sheet to manage promotion status.
- Link Tracking: Integrates with shlink.io for robust tracking of your affiliate link performance.
How To Use
- Set up Google Sheets: Create a Google Sheet with columns including 'Amazon Link', 'PicURL', 'Send' (initially set to 'NO'), and 'SHLink'.
- Configure n8n:
- Google Sheets Node: Connect your Google account and select your Amazon affiliate spreadsheet and sheet.
- Set Parameter Node: Configure your Mastodon API credentials (token and instance URL).
- OpenRouter Chat Model: Ensure your OpenRouter API key is set up for LLM access.
- HttpRequest Nodes: Input the 'Amazon Link' and 'PicURL' from your Google Sheet into the respective nodes.
- Mastodon Node: Connect your Mastodon account.
- Google Update Node: Configure it to update the 'Send' column to 'YES' and add the 'SHLink' once the post is successful.
- Connect Nodes: Ensure the workflow is correctly sequenced: Manual Trigger -> Google Sheets -> Set Parameter -> Get Picture -> Basic LLM Chain (which uses OpenRouter Chat Model) -> Picture to Mastodon -> Merge -> Mastodon -> Google Update.
- Test and Execute: Run the workflow manually to test the process and then set it up on a schedule for continuous automation.
Apps Used
Workflow JSON
{
"id": "78f26e68-5139-4967-9ec1-fedb6a6b66b8",
"name": "Automate Amazon Affiliate Promotions to Mastodon",
"nodes": 13,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 78f26e68-5139...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
WhatsApp AI Assistant: LLaMA 4 & Google Search for Real-Time Insights
Instantly deploy a smart AI assistant on WhatsApp, powered by Groq's lightning-fast LLaMA 4 model. This workflow enables real-time conversations, remembers context, and provides up-to-date answers by integrating live Google Search results.
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.