Set a flow's start step to External system (GFITpro / webhook) and generate a webhook URL. Any system that can send an HTTP POST, such as Zapier or your own app, can then start a run by sending one photo and its data fields to that URL.
Who can use this: Owners and admins generate, regenerate, and revoke the URL, because anyone holding it can launch billable runs. Other members can view and copy a URL that already exists.
Before you begin
- A saved flow. It doesn't need steps yet: a delivery to a flow with only a start step is recorded as a completed no-op run, and its fields are captured so you can build the rest afterward. See Building your first flow.
Note: For a new external trigger, prefer your organization's connection URL on Flows → Connection. It never changes, while a per-flow webhook URL changes whenever the flow is rebuilt. See Connect a photo source to your flows. For iPhone or iPad captures, choose Templified Tether or Studio drop instead; no URL is involved.
Switch the start step to webhook mode
- Open the flow from the Flows list.
- On the canvas, click the start step.
- Under Trigger, select External system (GFITpro / webhook).
- If your organization has a GFITpro connection, click Advanced: per-flow webhook to show the webhook settings.
- Click Save, or press Cmd+S (Mac) / Ctrl+S (Windows).
The start step shows a GFITpro / webhook badge. The editor's Run button becomes a disabled Webhook button, because only incoming requests start this flow.
Note: With a GFITpro connection, the panel leads with a GFITpro connection section showing whether GFITpro photos reach this flow, with an Add a routing rule button when they don't. The Advanced: per-flow webhook label adds (enabled) and opens expanded while a webhook URL exists.
Get the webhook URL
- Under Webhook URL, click Generate URL.
- Click the copy button beside the URL.
The URL is ready to use and takes effect immediately; no save is needed. The flow's secret token is built into the URL, so callers need no separate token or Authorization header. That suits no-code tools that can't add headers.
Note: A flow with a webhook URL needs no routing rule, because photos reach it directly, so it never shows the Not attached to a route warning.
Note: Anyone with this URL can trigger the flow — treat it like a secret. Click Regenerate to replace a leaked URL; the old one stops working at once. Click Revoke to turn the webhook off without deleting the flow. Members without access see This webhook isn't enabled yet until an owner or admin generates a URL.
Declare the fields your caller sends
- Under Fields, type a field name, for example
firstName. - Press Enter or click +.
- Repeat for each field.
Each name becomes a {variable} in every downstream create step. Click × beside a name to remove it.
Note: Field names are case-sensitive; match the capitalization in your request. After deliveries arrive, undeclared fields appear under Seen in recent deliveries — click to pin:. Click one to add it.
Send a photo
The bottom of the panel shows a ready-to-run cURL command with your URL filled in. Click Copy cURL and run it in a terminal to test. The request has no Authorization header:
POST /api/flow-hooks/{flowId}/{token}
Content-Type: application/json
{
"imageURL": "https://example.com/photos/player42.jpg",
"firstName": "Alex",
"teamName": "Diamonds"
}
Every top-level value other than the image URL becomes a data field, used as {firstName}, {teamName}, and so on. Send one photo per request; each request starts its own run.
The image URL is read from the first of these keys present: photo_url, imageURL, image_url, photoUrl, photo. It must be publicly reachable when you send the request. Templified copies the image before the run starts.
| Optional | Use |
|---|---|
filename |
The original file name, such as alex_diamonds.jpg. Without it, the name comes from the URL. |
fields |
A nested object of key/value pairs, equivalent to top-level values. When both are sent they merge, and the nested value wins on a name clash. |
Idempotency-Key header |
A unique string per delivery. See Prevent duplicate runs. |
{
"photo_url": "https://example.com/photos/player42.jpg",
"fields": {
"firstName": "Alex",
"teamName": "Diamonds"
}
}
Read the response
A successful request returns 202 Accepted, including for a flow with no steps yet:
{
"flowRunId": "clxyz…",
"status": "running",
"pollUrl": "/api/flows/runs/clxyz…"
}
The run starts in the background. Poll pollUrl, or open Runs at the top of the flow editor.
Prevent duplicate runs
Zapier, GFcrew, and most HTTP clients retry when a request times out, which can deliver the same photo twice.
- Generate a stable, unique key per photo delivery, such as your event ID or a UUID.
- Send it as the
Idempotency-Keyheader.
A repeated key returns the original flowRunId and starts no new run. Without the header, every request starts a new run.
Error responses
| Status | Code | Meaning and fix |
|---|---|---|
| 401 | unauthorized |
The URL's token is wrong or revoked, or the webhook is off. Copy the full, current URL from Webhook URL. |
| 400 | missing_photo |
No image URL found (photo_url (or imageURL) is required). Send it under an accepted key. |
| 400 | photo_fetch_failed |
Templified couldn't fetch the image. Check the URL is publicly reachable. |
| 403 | flow_disabled |
Flows is unavailable for this organization. Contact support. |
Comments
0 comments
Article is closed for comments.