Pullbay x n8n Integration
n8n is a powerful open-source and cloud-based workflow automation platform that lets you build complex data pipelines without writing code. This guide shows you how to integrate Pullbay with n8n to automate App Store data collection, monitoring, and analysis workflows.
What Is n8n?
n8n is a visual workflow automation tool that connects APIs, databases, and applications through a drag-and-drop interface. You can:
Build complex data pipelines without coding
Schedule recurring workflows (daily, hourly, weekly, etc.)
Connect to 400+ apps and services (Google Sheets, Slack, Airtable, etc.)
Transform and process data between systems
Trigger workflows based on events or schedules
Why Use n8n with Pullbay?
No-Code Integration
Build workflows without any programming knowledge using the visual workflow builder.
Seamless Integration with Business Tools
Connect Pullbay data directly to:
Google Sheets — automatically populate spreadsheets with review data
Slack — send alerts when low-score reviews appear
Airtable — store structured review data for team collaboration
Webhooks — trigger actions in your own applications
Databases — write data directly to PostgreSQL, MySQL, or other databases
Bulk Fetch with maxItems
Use the maxItems parameter to have Pullbay auto-paginate Apple's API internally and return up to 500 reviews in a single response. No pagination loops needed in your workflow.
Scheduled Execution
Configure workflows to run on a schedule: daily collection at midnight, hourly monitoring for low-score feedback, or weekly competitive analysis reports.
Error Handling and Reliability
n8n includes built-in error handling, retry logic, and notifications so you know when something goes wrong.
Setup: Storing Your API Key
Before creating workflows, store your Pullbay API key as a reusable credential in n8n.
Create Header Authentication Credential
Select Header Auth from the credential type dropdown
Fill in the following:
Credential Name
Pullbay API
Header Name
Authorization
Header Value
Bearer YOUR_API_KEY
Replace
YOUR_API_KEYwith your actual key from the Pullbay dashboardClick Create
Your credential is now stored securely and reusable across all workflows.
HTTP Request Node Configuration
All Pullbay workflows use the HTTP Request node with this base configuration:
Method
GET
URL
https://api.pullbay.com/appstore/reviews
Authentication
Header Auth — select your Pullbay API credential
Query Parameters
See examples below
Query Parameters
appId
Your App Store numeric ID
Required (8–12 digits). Mutually exclusive with bundleId.
bundleId
Your app bundle ID
Alternative to appId. E.g. com.burbn.instagram.
country
2-letter country code
Optional. Default: us
sort
recent or helpful
Optional. Default: recent
maxItems
Integer 1–500
Optional. Omit to fetch one page (~50 reviews) with a cursor.
page
Integer 1–10
Optional. Mutually exclusive with maxItems.
maxItems and page cannot be used together.
Fetch Mode: maxItems vs. page
Pullbay has two fetch modes on the same endpoint:
Bulk
maxItems=500
Pullbay auto-paginates Apple's API internally and returns all results in one response. No cursor in the response.
Recommended for most workflows
Single page
page=1 (or omit)
Returns ~50 reviews and a pagination cursor.
Use only if you need per-page processing
For n8n workflows, always use maxItems. Single-page pagination requires loop logic that is complex to manage in a visual workflow builder.
Basic Workflow Structure
Every Pullbay workflow in n8n follows this pattern:
Trigger — schedule, webhook, or manual start
HTTP Request — fetch data from Pullbay (
/api/appstore/reviews)Set — extract
{{ $json.data }}from the response envelopeProcess/Filter — transform, filter, or split reviews as needed
Destination — Google Sheets, Slack, Airtable, database, etc.
Example Workflows
Workflow 1: Daily Review Collection to Google Sheets
Automatically fetch app reviews every day at 9 AM and save them to Google Sheets.
Document: your Google Sheets document
Sheet:
ReviewsColumns mapped from review fields:
Date
{{ $json.date }}
Score
{{ $json.score }}
Title
{{ $json.title }}
Review
{{ $json.text }}
Author
{{ $json.userName }}
Version
{{ $json.version }}
Country
{{ $json.country }}
Review ID
{{ $json.id }}
{% endstep}
Workflow 2: Review Monitoring with Slack Alerts
Hourly monitoring that sends a Slack message for every review with a score ≤ 2.
Workflow 3: Competitive Analysis (Multiple Apps, Weekly)
Monitor competitor apps and compile findings into a weekly report.
Workflow 4: Sentiment Analysis with OpenAI
Fetch reviews and automatically analyze sentiment using OpenAI.
Handling Response Data in n8n
The Pullbay API always returns the same envelope. In the Set node, extract the reviews array:
Log credit usage and request ID after each call:
Individual Review Field Reference
After Split In Batches (batch size 1), each item is a single review. Reference fields as:
Review ID
{{ $json.id }}
Unique review identifier
Date
{{ $json.date }}
ISO 8601 datetime
Score
{{ $json.score }}
Integer 1–5
Title
{{ $json.title }}
Review headline
Review text
{{ $json.text }}
Full review body
Author
{{ $json.userName }}
Reviewer display name
App version
{{ $json.version }}
App version reviewed
Country
{{ $json.country }}
2-letter country code
Review URL
{{ $json.url }}
Link to the review on Apple
Error Handling
Configure Timeout
In the HTTP Request node, click Additional options and set Timeout to 120000 ms (2 minutes). This gives the bulk fetch endpoint enough time to retrieve all pages internally when maxItems is large.
Enable Retry Logic
Tips and Best Practices
Test with Small maxItems First
When building a workflow, test with a small value to iterate quickly:
Once the workflow is working correctly, increase maxItems up to 500.
Track Credit Usage
Log {{ $json.pricing.creditsCharged }} after each HTTP Request node so you can monitor credit consumption over time. You can write this value to a dedicated "Credits" sheet in Google Sheets.
Deduplicate Reviews
If running workflows frequently, track processed review IDs to avoid duplicates:
Store
{{ $json.id }}values in a database or Google Sheet after each runIn the If node, skip reviews whose ID already exists in your log
Alternatively, filter by
{{ $json.date }}to process only reviews newer than your last run
Split Large Datasets
After the Set node, add a Split In Batches node before any per-review processing:
Batch size 1 for per-review actions (Slack message, OpenAI call, etc.)
Batch size 50–100 for bulk writes (Google Sheets append rows)
Splitting prevents memory issues and enables per-batch error handling.
Schedule During Off-Peak Hours
For large maxItems values, schedule workflows during off-peak hours (typically 10 PM – 6 AM local time) for best performance.
FAQ
Troubleshooting
401 Unauthorized
Your API key is invalid or missing from the credential. Re-check the Header Auth credential: Header Name must be Authorization, Header Value must be Bearer <your_key> (with the word "Bearer" and a space before the key).
400 Bad Request
A query parameter is invalid. Common mistakes:
Passing both
maxItemsandpagein the same request — use only onePassing both
appIdandbundleId— use only oneInvalid
sortvalue — onlyrecentandhelpfulare acceptedappIdcontains non-numeric characters or is outside 8–12 digits
402 Insufficient Credits
Your account has run out of credits. Add credits from the Pullbay dashboard before re-running the workflow.
404 Not Found
Wrong URL. The correct endpoint is exactly:
Workflow runs but no data appears in the destination
Verify the Set node expression is
{{ $json.data }}(not$json.reviewsor similar)Check that the app has reviews in the requested country
Look at the HTTP Request output panel in the n8n execution view to confirm what the API returned
Workflow times out
Increase the HTTP Request timeout to
120000msReduce
maxItems(e.g.100instead of500) so there are fewer internal pages to fetchEnsure you are not running several large workflows concurrently on the same API key
Next Steps
Store your Pullbay API key as a Header Auth credential in n8n
Build and test a simple HTTP Request node with
appIdandmaxItems=10Add a Set node to extract
{{ $json.data }}and a Split In Batches node (batch size 1)Connect to your destination (Google Sheets, Slack, Airtable)
Set a time-based trigger and monitor the first scheduled run
Scale up
maxItemsonce the workflow is validated end-to-end
For n8n support, visit docs.n8n.io. For Pullbay-specific questions, contact support through your dashboard.
Last updated