You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/intro/ff-ui/my-organization.md
+27-7Lines changed: 27 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -306,7 +306,7 @@ Webhooks are **only available** to users on the **Enterprise** plan.
306
306
307
307
:::
308
308
309
-
:::tip [Possible Use Cases]
309
+
:::tip Possible Use Cases
310
310
311
311
-**CI/CD Integration:** Automatically trigger build or deployment pipelines whenever a new commit is made to a branch.
312
312
-**Audit Logging:** Log events to an internal system for compliance and audit tracking.
@@ -320,20 +320,40 @@ Webhooks are **only available** to users on the **Enterprise** plan.
320
320
321
321
FlutterFlow supports webhook notifications for the following events:
322
322
323
-
-**Branch Created**: Triggered whenever a new branch is created within the project.
324
-
-**Commit Created**: Triggered when a commit is created on any branch.
325
-
-**User Info:**
323
+
-**Branch Created**: Triggered whenever a new branch is created within the project. The following is an example of the webhook payload sent when this event occurs:
324
+
```jsx
325
+
{
326
+
"branch_id":"mmtQj1gtGuxohyNsAUSs",
327
+
"branch_name":"Hello World",
328
+
"created_by": {
329
+
"user_id":"TeneO93LdQfQQdN4RDfSB0eIXPu2"
330
+
},
331
+
"eventType":"branch.created",
332
+
"project_id":"test-delete-me-wvv2hr"
333
+
}
334
+
```
335
+
-**Commit Created**: Triggered when a commit is created on any branch. Below is an example of the webhook payload sent forthisevent:
336
+
```jsx
337
+
{
338
+
"commit_id": "a1b2c3d4e5",
339
+
"commit_message": "Initial commit for login feature",
340
+
"branch_id": "mmtQj1gtGuxohyNsAUSs",
341
+
"branch_name": "feature/login",
342
+
"created_by": {
343
+
"user_id": "TeneO93LdQfQQdN4RDfSB0eIXPu2"
344
+
},
345
+
"eventType": "commit.created",
346
+
"project_id": "test-delete-me-wvv2hr"
347
+
}
348
+
```
326
349
327
-
[docusourous]
328
350
329
351
### Set Up Webhook
330
352
331
353
To start receiving webhook events, go to your **FlutterFlow Dashboard**, then navigate to **My Teams > Webhook URLs**. Click**+ Add URL**, enter your webhook endpoint, and click **Save**.
332
354
333
355
Once saved, FlutterFlow will automatically send POST requests to the provided URL whenever supported events occur.
334
356
335
-
[image]
336
-
337
357
:::tip[Allowlist IP Addresses]
338
358
339
359
If your webhook endpoint is hosted behind a firewall or NAT, you’ll need to allow incoming traffic from the following staticIP addresses to ensure event delivery.
0 commit comments