External app
With the start type External app, Pantarey fetches data itself: at a fixed interval it asks a provider whether something new is available and starts process instances for it. This is the way for services that do not offer a webhook. Currently supported: Teambeam, the service for secure file transfer.
Setup
- Turn the start event into a Message Start Event; Start type is set to External app.
- In the card "Configure external data source":
| Field | Values |
|---|---|
| Provider | Teambeam |
| Trigger | New transfer (inbox) or Open reservations |
| Polling interval | Every 5, 15, 30 minutes, Hourly (default), Daily |
| Processing mode | Single (one process per item) or Batch (all items in one process) |
- The credentials go into the Input of the start event (button Configure input/output data and variables), preferably as secrets:
{
"email": "{{secret:TEAMBEAM_EMAIL}}",
"password": "{{secret:TEAMBEAM_PASSWORD}}",
"host": "https://musterfirma.teambeam.de",
"accessHost": "https://musterfirma.teambeam.de",
"filters": { "search": "Rechnung" }
}
- Deploy. From then on, polling runs at the set interval; on the first run, all existing entries of the inbox are processed.
The start message
Per process instance, the message contains _meta (provider, trigger, time), config (the input without credentials) and item with the transfer, in batch mode items and count. The files of a transfer are then taken into the process by the "TeamBeam" service; a database step creates the delivery note. Pantarey remembers entries that have already been processed and does not start them again.
Example
Musterfirma receives delivery notes from its carrier via Teambeam. External app, trigger New transfer (inbox), every 15 minutes, Single. Per transfer, "Lieferschein verarbeiten" starts: fetch the file, read it with "Read document (OCR)", save it as a record, notify logistics.
Frequently asked questions
Nothing starts.
Is the process deployed? Are the credentials in the input complete (email, password, host, accessHost)? Polling errors do not appear in the app, only in the system log; if in doubt, ask support with the process name and time.
Can polling be paused?
Not individually. The schedule disappears when the process is deleted or deployed without this start event.
Other providers?
For services with a webhook, the webhook start; for services with an API, a timer start with the service task "HTTP Request (REST)" that polls regularly.
Next step
Start events: all start types at a glance.