Skip to main content
The Polling page lets you set up scheduled API polling inside Lighthouse Flows. Instead of waiting for an external system to push data, a polling configuration calls an external API at regular intervals and pulls data automatically.
Polling Configurations
Use polling when your source system does not support outbound webhooks. If it can push data to Lighthouse in real time, use a webhook trigger instead — it’s more efficient.

Summary Counters

Three counters at the top show the current state of your polling configurations at a glance.

Total Configurations

All polling configurations on your account — active and disabled combined.

Active

Configurations currently running on their schedule. Shown in green.

Disabled

Configurations that exist but are not currently running. Shown in orange. These will not poll until re-enabled.

All Polling Configurations

The table lists every configuration on your account. Click any row to view or edit it.
ColumnWhat It Shows
NameThe label for this polling configuration
StatusActive (running) or Disabled (paused)
ScheduleHow often the API is polled
CreatedWhen the configuration was first created
UpdatedWhen it was last modified
Use the Filter name… field to search by name. Click View to toggle visible columns.

Creating a New Polling Configuration

Click + New Polling Config in the top-right corner. The creation form has four sections — work through them top to bottom.

1. Polling Details

Polling Details
FieldRequiredDescription
NameA descriptive label — e.g. Daily Customer Sync
ConnectionOptionalSelect an existing connection to use for authentication
Template IDOptionalStart from a pre-configured template if one exists for your use case
The Enabled toggle in the top-right activates the configuration immediately after creation.

2. Schedule Configuration

Set how often Lighthouse should call the external API.
Schedule Quick Setup
Two modes are available:

Quick Setup

Choose from preset intervals — Every 5 min, Every 15 min, Every 30 min, Every hour, Every 6 hours, or Daily. The current schedule expression is shown at the bottom of the panel.

Advanced

Enter a custom expression directly — supports rate() and cron() syntax for precise scheduling.
Schedule Advanced
Advanced expression examples:
ExpressionWhat It Does
rate(5 minutes)Run every 5 minutes
cron(0 12 * * ? *)Run daily at 12:00 PM UTC
0 */6 * * *Run every 6 hours

3. HTTP Request Configuration

Define the API endpoint Lighthouse should call on each poll.
HTTP Request Structured
Two modes are available:

Structured

Fill in the endpoint URL, HTTP method, headers, query parameters, authentication, and request body using form fields.

Custom Code

Write a JavaScript handler function directly — full control over how the request is made and how the response is processed.
HTTP Request Custom Code
Structured mode fields:
FieldRequiredDescription
API Endpoint URLThe full URL of the API endpoint to poll — e.g. https://api.example.com/v1/data
HTTP MethodGET, POST, PUT, DELETE, or PATCH
HTTP HeadersOptionalCustom headers — e.g. Content-Type, Accept
Query ParametersOptionalURL query parameters appended to the endpoint
AuthenticationOptionalConfigure how to authenticate — defaults to No Authentication
Request BodyOptionalJSON payload for POST, PUT, or PATCH requests
HTTP Request Config Details

4. Response Parser, Retry Logic, Pagination & Filter

Response Parser and Options
SectionTypeWhat It Does
Response ParserAlwaysExtract specific data from the API response using a JSON Path — e.g. data.items. Add Custom Logic (JavaScript) to transform the response before it’s passed downstream
Retry LogicOptionalAutomatically retry failed poll attempts. Toggle on to configure retry behaviour
PaginationOptionalHandle multi-page API responses — toggle on when the API returns paginated results
Incremental Polling FilterOptionalOnly process records that are new or updated since the last poll — prevents reprocessing the same data
Click Create Configuration to save, or Cancel to discard.
Contact Cloudify before creating a polling configuration. Getting the endpoint URL, authentication, schedule, and response parser correct requires knowledge of your source API. Cloudify will typically configure these as part of your integration delivery.

Frequently Asked Questions

Use polling when your source system cannot push data to Lighthouse when something changes. If it supports webhooks, use a webhook trigger instead — it’s real-time and more efficient.
No. A disabled configuration will not execute until it is re-enabled. Contact Cloudify if a configuration is unexpectedly disabled.
Quick Setup gives you six preset intervals in one click. Advanced lets you write a custom rate() or cron() expression for precise timing — for example, running only on weekdays at a specific time.
It ensures only new or updated records are processed on each poll — so if your API returns 1,000 records but only 5 are new, only those 5 are passed downstream. This prevents duplicate processing.
Go to Flows Events and filter by Type → polling. This shows all events generated by polling triggers with their delivery status and attempt history.

Next Steps

Flows

Return to the Flows overview — configure triggers, rules, and targets.

Flows Events

View events generated by polling triggers and check delivery status.

Support

Contact Cloudify to set up or modify a polling configuration.