Generate AI captions and auto-post random images to Nimply channels
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenRouter Chat Model and Nimply (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Prepare Image URLs (Edit Fields (Set)): sets 1 field: imageUrls
- Select Random Image (Code): runs custom JavaScript code
- Generate AI Caption (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
- Upload Image to Nimply (Nimply): work with media
- Get Connected channels (Nimply): work with channel
- If: checks a condition and branches into true / false
- Create a post (Nimply): uses Nimply
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Generate AI Caption (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generate AI Caption (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Manual Trigger
n8n-nodes-base.manualTrigger - Nimply
@nimply/n8n-nodes-nimply.nimply - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if
From the author
Quick overview This workflow automatically picks a random image, uses an AI Agent to generate an engaging caption, uploads the image to Nimply, and publishes it as a post to a chosen Nimply channel, turning a manual "pick photo → write caption → post" routine…