Skip to content
REST API PostPlenty for n8n

Workflows that make the post, not just send it

Use n8n's HTTP Request node with a PostPlenty API key. Your workflow asks for captions and images in your brand, creates the post and schedules it, all from one key.

Set up in a minute

Connect n8n to PostPlenty

  1. Create a key in PostPlenty under Settings → API keys.
  2. In n8n, add an HTTP Request node, select Import cURL and paste the command above.
  3. Replace the pasted header with a Bearer Auth credential, so the key is not stored in the node.
  4. Add a second HTTP Request node for POST /generate/images and a third for POST /posts, passing the caption and image URL from the earlier nodes.
  5. Set a trigger (a schedule, a webhook or a new row), run the workflow once by hand, then check the draft in PostPlenty.
Import cURL
curl -X POST https://www.postplenty.com/api/v1/generate/captions \
  -H "Authorization: Bearer pyl_live_…" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Autumn menu launch at our cafe",
    "platforms": ["instagram", "facebook"]
  }'
Checked against n8n's docs

Try asking

Ask for the post, not just the schedule

In n8n these are workflow ideas, not chat messages. Each one is a trigger, then PostPlenty nodes for the caption, the image and the post.

  1. Prompt 1

    “When a new product is added to our store, generate an Instagram caption and a 4:5 product image, then create a post scheduled for the next morning at 9am.”

    • POST /generate/captions in your voice
    • POST /generate/images your colours
    • POST /posts draft or scheduled
  2. Prompt 2

    “Every Friday, turn this week's blog post into a LinkedIn caption and a square brand image, and create a draft for review.”

  3. Prompt 3

    “When a five-star review arrives, write a Facebook thank-you post with a brand image and schedule it for the next day at noon.”

POST /posts

Drafts unless you give a time

Images use 1 credit each, refunded if generation fails.

Good to know

Using n8n with PostPlenty

  • Image generation can take longer than n8n's default HTTP timeout. Raise the timeout on that node.
  • Retries can create duplicate posts. Turn off Retry On Fail on the node that calls POST /posts, or check list_posts first.
  • n8n is REST only here. The MCP Client Tool node is not documented on this page because we have not tested it with PostPlenty.

Your agent's content team

Give n8n a brand to post with

PostPlenty learns your brand from your website. Start a trial, create a key, and your n8n workflow can make a post, not just send one.

Start my trial

7 days free, then $29.99/month. Card required. Cancel any time in Settings.

Questions

PostPlenty for n8n, answered

Does PostPlenty work with n8n?

Yes, through the REST API. Use the HTTP Request node with a Bearer Auth credential holding your API key. The same endpoints generate captions and images, create posts and schedule them.

Which endpoints do I call, and in what order?

POST /generate/captions for the text, POST /generate/images for the picture, then POST /posts with the caption, the image URL and an optional scheduled time. POST /posts/{id}/schedule schedules an existing draft.

Can a workflow publish without asking me?

Only if you build it to. Creating a post makes a draft unless you send a time, and publishing right away needs confirm set to true. Leave both out and every post waits in your PostPlenty calendar.

Can I bring my own image into the workflow?

Yes. POST the file's public URL to /media and use the URL it returns in the post's mediaUrls, instead of calling the image generator.