providerEndpoint("customer-io.campaigns.observations", "https://api.customer.io", "/v1/campaigns", auth, data) as receivers.provider
from @bijectionhq/app-rest. For the EU region use https://api-eu.customer.io.
Seal a workspace App API key as bearer auth. Pass the same label to the receiver binder and as the app’s data.
Initialize with { profile: { mode: "provider", provider: "customer-io.campaigns.observations", limit: 100 } }.
Each poll reads the unpaged automation list and keys rows by campaign ID. The entire answer must fit 100 rows and 36 KiB. Missing automations remain published.
Customer.io list automations
Profiles, segments, and events
Use the same protection and a sealed App API bearer key for the workspace’s regional endpoint. Bind one of these modes.
The events mode asks for activity type
event and reuses Customer.io’s
next token as start at the installed path. Exhaustion restarts the
sweep. Customer.io guarantees only 30 days of activity history. Answers
fit 36 KiB. Missing rows leave earlier observations in place.
Customer.io App API
Writes
Follow the native write guide and bind the same protected label on the REST mount and writer receivers. Usehttps://track.customer.io or https://track-eu.customer.io with a sealed private Track bearer credential.
- Bind
providerWriterforcustomer-io.profiles.upsertand pass it asreceivers.writers["customer-io.profiles.upsert"]. Use actionupsert. Pass the exact URL-safe customer ID asexternalIdand its attributes aspayload. - Bind
providerWriterforcustomer-io.events.createand pass it asreceivers.writers["customer-io.events.create"]. Use actioncreate. Setscopeto one URL-safe customer ID and submit an event withnameand the provider deduplication ULID inid. HTTP 200 acknowledges the request.