Skip to content
REST API Pylot for n8n

Workflows that make the post, not just send it

Use n8n's HTTP Request node with a Pylot 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 Pylot

  1. In Pylot, open Settings → API keys and create a key. It starts with pyl_live_.
  2. In n8n, add an HTTP Request node and paste the command above with Import cURL.
  3. Move the key into a Bearer Auth credential so it isn't stored in the node.
  4. Chain more HTTP Request nodes for /generate/images and /posts. The full list is in the API reference.
Import cURL
curl -X POST https://www.getpylot.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

n8n asks, Pylot makes it: captions in your brand voice, images in your colours with your logo, then a draft or a scheduled post in your calendar.

“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
Prompt 1

n8n sends the request; Pylot writes, designs and drafts. You see the posts in your calendar.

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

Prompt 2
  • POST /generate/captions
  • POST /generate/images
  • POST /posts

“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.”

Prompt 3
  • POST /generate/captions
  • POST /generate/images
  • POST /posts
POST /posts

Drafts unless you give a time

Captions are free. Images use 1 credit each, refunded if generation fails.

Your agent's content team

Give n8n a brand to post with

Pylot learns your brand from your website: voice, colours, logo. Start a trial, create an API key in Settings, and your agent can make on-brand posts the same day.

Start my trial

Pro: 7 days for $0 · card required · then $49.99/month · cancel within 7 days to pay nothing.

Questions

Pylot for n8n, answered

Does Pylot 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.

Will the posts sound like my business?

Yes. generate_captions writes in the brand voice Pylot learned from your website, and generate_image applies your colours, logo and style automatically. Your agent asks for the post; Pylot makes it on-brand.

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 Pylot calendar.

What does it cost?

Captions are free. Each generated image uses 1 credit from your plan and is refunded if generation fails. Drafting, scheduling and publishing are free. The key uses the same plan, limits and credit balance as your dashboard.