Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Connect n8n to Buffer: Setup & Workflow Limits

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Connecting n8n to Buffer lets you automate social media posting, content scheduling, and analytics without manual work. This guide walks you through creating a Buffer app, adding it to n8n, and understanding the API rate limits so your workflows run smoothly.

What You'll Need

  • An n8n instance (self-hosted or cloud) with admin access.
  • A Buffer account with at least one connected social profile (e.g., Twitter, LinkedIn, Facebook).
  • Your Buffer account credentials (email/password) and a web browser.
  • Basic familiarity with n8n workflows and credentials.

Step-by-Step

  1. Create a Buffer App Log in to your Buffer account, go to Account → Settings → Developer Apps, and click Create App. Fill in the app name (e.g., "n8n Automation"), set the redirect URL to https://your-n8n-instance.com/rest/oauth2-credential/callback (replace with your actual n8n URL), and save. Note the Client ID and Client Secret – you'll need these in n8n.
  2. Add Buffer Credentials in n8n In n8n, go to Credentials → Add Credential, choose Buffer OAuth2 API, and enter the Client ID and Client Secret from step 1. Click Connect account – this opens a Buffer authorization page. Log in and allow access. n8n will automatically store the access token.
  3. Create a Workflow with a Buffer Node Start a new workflow. Add a trigger node (e.g., Schedule, Webhook, or a manual trigger). Then add a Buffer node from the action list. Choose an operation like Create Post or Get Profiles.
  4. Configure the Buffer Node In the node settings, select your Buffer credential from the dropdown. For a post, choose the profile(s) you want to publish to, enter the text, and optionally add media URLs. Some operations require a profile ID – you can get this by running a Get Profiles operation first and inspecting the response.
  5. Set Up Workflow Limits n8n doesn't impose its own limits on Buffer API calls, but Buffer's API does. To avoid hitting rate limits, add a Wait node between multiple Buffer calls (e.g., 1-2 seconds). For high-volume workflows, use the Loop Over Items node to process items sequentially with a delay.
  6. Test and Activate Execute the workflow manually to verify it works. Check the Buffer dashboard to confirm the post appears. Once successful, activate the workflow to run on schedule or via webhook.

Common Mistakes

  • Wrong redirect URL: If the OAuth callback URL in Buffer doesn't exactly match your n8n URL (including https and port), authorization fails.
  • Using a Buffer token instead of OAuth: Some tutorials suggest using a personal access token, but n8n's Buffer node expects OAuth2. Creating an app is the correct path.
  • Ignoring profile ID requirements: For operations like Create Post, you must specify a profile ID. If you leave it blank, the node errors.
  • Posting too frequently: Buffer's API limits posts per profile per day (typically 25 for free plans). Exceeding this returns a 429 error.

Tips

  • Use the Get Profiles operation to dynamically fetch profile IDs and pass them to subsequent nodes via expressions (e.g., ).
  • Schedule posts in advance: Instead of posting immediately, use the Create Post operation with a scheduled_at timestamp (ISO 8601) to queue content.
  • Handle rate limits gracefully: Add an Error Trigger node to catch 429 responses and retry after a delay, or use n8n's built-in retry settings.
  • Test with a draft: Buffer supports draft status – use it for testing before going live.

Troubleshooting

OAuth fails with "Invalid redirect URI": Double-check the exact callback URL in your Buffer app matches your n8n instance. For self-hosted n8n, ensure the URL is publicly accessible (not localhost) unless you're using a tunnel.

Node returns "Profile not found": Verify the profile ID is correct. Run a Get Profiles operation to list all connected profiles and copy the exact ID. Also confirm the profile is active in Buffer.

Rate limit errors (429): Wait a few minutes and retry. Reduce the frequency of calls by batching posts or adding a Wait node (e.g., 2 seconds) between operations. Check your Buffer plan's limits – free plans have lower caps.

Credentials not saving: Ensure you're using the correct OAuth2 credential type in n8n (not a generic API key). If the issue persists, delete the credential and recreate it, making sure to re-authorize.

Workflow runs but no post appears: Check the Buffer node's response data. If the status is draft, the post is saved but not published. Change the status to published or set a future scheduled_at time.

Frequently Asked Questions

Can I use Buffer's personal access token instead of OAuth?

n8n's Buffer node only supports OAuth2. You must create a Buffer app and go through the OAuth flow. Personal tokens are not accepted.

How do I find my Buffer profile ID?

Use the Get Profiles operation in n8n. It returns a list of connected profiles with their IDs. Alternatively, you can find it in Buffer's API explorer.

What are Buffer's API rate limits?

Buffer's API allows approximately 100 requests per 15 minutes per user, but posting limits per profile vary by plan (e.g., 25 posts per profile per day on free). Check Buffer's official docs for current numbers.

Can I schedule posts with n8n?

Yes, use the Create Post operation with a scheduled_at parameter in ISO 8601 format (e.g., 2025-01-01T10:00:00Z). The post will be queued in Buffer.

Why does my workflow fail when posting to multiple profiles?

Each profile counts as a separate API call. If you're posting to many profiles at once, you may hit rate limits. Add a Wait node between calls or use a loop with a delay.

Does n8n have built-in retry for Buffer errors?

Yes, in the node settings you can enable retry on failure. However, for rate limit errors, it's better to use an Error Trigger to wait and retry manually.