11 Build Your First AI Automation
Give this n8n workflow to your AI agent: extract content, generate a visual, review the result, then publish to a selected social account. For Make, follow the Make setup guide and the async API contract.
What You'll Learn
Extract content with Source > Create and Source > Get.
Render a visual with Visual > Create and Visual > Get.
Confirm publication with Post > Publish and Post > Get.
Video Tutorial
For a recorded workflow, see 1 Post Everywhere. Use the completion checks below when adapting a tutorial.
Prerequisites
Select the destination account and any required Page or board ID.
Agree on the content, destination, and any generation credit use before running the workflow.
Workflow Overview
Each Create or Publish operation starts work. Its response is not proof of completion.
Source > Create
id
Source > Get
status is completed. Use content.
Visual > Create
item.id
Visual > Get
item.status is done, item.error is absent, and output URLs exist.
Post > Publish
postSubmissionId
Post > Get
status is published. Read publicUrl when returned.
Set a waiting limit. If a status request fails or the limit expires, preserve the operation ID and report the unfinished stage. Resume with Get. Do not repeat Create or Publish to recover from an uncertain result.
Step-by-Step Setup
Step 1: Add Create Source Node
Select Source > Create.
Select URL for a supported source URL, Text for supplied content, or AI Research for a query.
Submit the source.
Save the returned
id.
Step 2: Add Wait Node
Add a Wait node before Source > Get.
Set a 5-second interval between status checks.
This interval is a polling recommendation, not a promised processing time. Account for other workflows sharing the rate limit.
Step 3: Add Get Source Node
Select Source > Get using the saved source
id.Inspect
status.Route
queuedorprocessingback through Wait, within the waiting limit.Stop on
failedand reportmessage.Pass
contentforward only aftercompleted.
Step 4: Add Create Visual Node
Select Visual > Create.
Choose a template from the template catalog.
Use the extracted content in the prompt or map it to the selected template's input fields.
Submit once and save
item.id.Add a Wait > Visual > Get loop using the saved visual ID.
Stop on
item.error,creation-from-template-failed, orinsufficient-credits.Continue only after
item.statusisdoneand output URLs exist.Review
item.mediaUrlfor a video oritem.imageUrlsfor a carousel before publishing.
A draft is not a rendered output. Follow visual generation if no publishable output is returned. Template input names differ. Image Slideshow with Text Overlays uses inputs.slides. AI Story Video uses inputs.scenes.
Step 5: Add Publish Node
Confirm the reviewed content and destination are approved for publishing.
Select Post > Publish for the selected platform and account.
Map the completed visual's output URL or URLs to the media field.
Submit once and save
postSubmissionId.Add a Wait > Post > Get loop using the saved submission ID.
Report
publishedas success orfailedwitherrorMessage.
For in-progress, continue Get checks within the waiting limit. For scheduled, stop immediate polling and report the scheduled result, not a published post. Follow publication verification.
Tips
Inspect status and error fields rather than relying on a node's
_hinttext.Keep each operation ID separate from account IDs and template IDs.
Follow publishing diagnosis after a failed publication.
Source Types You Can Use
The n8n node offers URL, Text, and AI Research. URL mode infers the source type. Supported formats and extraction restrictions are listed in Create Source. Supply Text if your source does not provide a usable transcript.
Next Steps
Review async workflows for request and response examples.
Follow publishing for destination and media checks.
Follow scheduling for a future publication.
Last updated