Piloterr
Destinations

Destinations

Send Dataflow's events to a webhook, an Amazon SQS queue, Amazon EventBridge, a Google Pub/Sub topic, RabbitMQ, Kafka or Azure Service Bus.

A destination is where Dataflow sends your workspace's events: a run that ends, fails or slows down, a schedule skipped, the result rows of each run. Each destination has a type, its config (where to send), its credentials (how to sign in, none for a webhook) and the topics it receives.

TypetypeReceivesGuide
WebhookwebhookA signed POST to your HTTPS endpointWebhook
Amazon SQSaws_sqsA message on a standard queueAmazon SQS
Amazon EventBridgeaws_eventbridgeAn event on a busAmazon EventBridge
Google Cloud Pub/Subgcp_pubsubA message on a topicGoogle Cloud Pub/Sub
RabbitMQrabbitmqA message on an exchangeRabbitMQ
KafkakafkaA record on a topicKafka
Azure Service Busazure_servicebusA message on a queue or topicAzure Service Bus

Every type gets the same events and payload, with the same retries, delivery log and resends.

Add a destination

In the dashboard: Dataflow → Settings → Destinations → Add a destination. Pick a type, fill in its fields, choose the events, and save.

Through the API, POST /v1/destinations takes the type, its config and credentials, and the topics. Each type's guide has a complete example. Destination routes need a key with Admin Dataflow access, outside the development category, because they send your data out of your workspace. See What a key can do.

  • topics lists the events to receive, at least one, or ["*"] for all of them, run.results included. A destination receives the events of every project of your workspace. See Routing.
  • description is optional, up to 120 characters.
  • A workspace has at most 20 destinations, every type together (409 destinations_limit).
  • GET /v1/destinations lists your destinations and GET /v1/destinations/{id} shows one. target sums up in one line where events go.

Credentials

Credentials are sent once, when you add or change a destination. The delivery service keeps them encrypted, and answers never show them in full: each one shows as its first 4 characters followed by … (AKIA…), or as … alone for short values and JSON keys.

Give each destination credentials that can only send to that one queue, topic or bus. Each guide lists the smallest permissions that work.

Where deliveries come from

Deliveries leave from fixed public IP addresses, so you can allow them alone in a firewall, a queue policy or a broker allowlist. Every type leaves from our egress proxy's address, 116.203.84.164, except Azure Service Bus, which connects from our delivery server's own address. GET /v1/destinations/types gives each type's addresses, and the dashboard shows them under the type you pick; we tell customers before an address changes:

curl https://dataflow.piloterr.com/v1/destinations/types -H "x-api-key: YOUR_API_KEY"
{
  "items": [
    { "type": "webhook", "name": "Webhook", "network": "egress", "exit_ips": ["116.203.84.164"] },
    { "type": "kafka", "name": "Kafka", "network": "egress", "exit_ips": ["116.203.84.164"] },
    { "type": "azure_servicebus", "name": "Azure Service Bus", "network": "outpost", "exit_ips": ["DELIVERY_SERVER_IP"] }
  ]
}
  • network is egress for every type but Azure Service Bus, and outpost (our delivery server) for Azure Service Bus.
  • exit_ips is empty when no address is published for that type.
  • Hosts you give (a webhook URL, RabbitMQ and Kafka brokers) must be reachable from the internet. A private address, or a name that resolves to one, is refused (422 validation_failed).
  • RabbitMQ and Kafka connections use TLS, on port 5671, 9092, 9093, 9094 or 9096.

Change or remove a destination

  • PATCH /v1/destinations/{id} changes some config fields (the others stay, and the whole config is checked again), all the credentials at once, the topics, the description (null clears it), or enabled (false turns the destination off, true turns it back on). The type cannot change: add a new destination instead.
  • DELETE /v1/destinations/{id} removes it, credentials included.
curl -X PATCH https://dataflow.piloterr.com/v1/destinations/DESTINATION_ID \
  -H "x-api-key: YOUR_API_KEY" -H "content-type: application/json" \
  -d '{"topics": ["run.completed", "run.failed"], "enabled": true}'

Errors

StatusCodeMeaning and fix
422validation_failedA field is missing or malformed, a host is private, not over TLS or on a closed port, or the destination service refused it. details lists the fields (config.queue_url, credentials.password…): fix them and send again.
422destination_type_unavailableThis type is not open on this server. GET /v1/destinations/types lists the open ones.
404destination_not_foundNo such destination for your workspace. Check the id with GET /v1/destinations.
409destinations_limitThe workspace already has 20 destinations (details.max_destinations). Remove one first.
409destination_disabledResending to a destination that is turned off. Turn it on first.
429rate_limitedToo many tests. Wait Retry-After seconds.
502outpost_failedThe delivery service failed. Try again.
503destinations_unavailableDestinations are not available right now. Try again later.

On this page