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
The **Button** Field allows users to create interactive buttons within their tables. These buttons can trigger specific actions, making workflows more dynamic and efficient. With the Button Field, you can navigate to external URLs, run custom webhooks, or even run custom scripts (coming soon!) with a single click.
8
+
The **Button** Field allows users to create interactive buttons within their tables. These buttons can trigger specific actions, making workflows more dynamic and efficient. With the Button Field, you can navigate to external URLs, run custom webhooks, or even run custom scripts with a single click.
9
9
10
-
NocoDB currently supports two types of actions for the Button Field:
10
+
NocoDB currently supports following actions for the Button Field:
11
11
1.**Open URL**: Opens a new tab with a URL generated by a formula within the button field. The URL can be static or dynamic based on the current record's data.
12
12
2.**Run Webhook**: Trigger a webhook with the configured URL & custom payload. Payload can include data from the current record.
13
+
3.**Run Script**: Execute a custom script that can perform various operations on the current record or the entire table. Current record information can be accessed using the `row` variable in the script.
14
+
15
+
<Callouttype="note">**Run Script** action is currently available only in the NocoDB Cloud version, Plus and above plans.</Callout>
- For "Run Webhook" action, a webhook of specific trigger type must be created in the `Webhooks` section. You can use the same webhook for multiple Button fields.
37
-
- "Run Webhook" action will be disabled in shared views and shared base.
38
-
:::
39
+
<Callouttype="note">For the **"Run Webhook"** action, a webhook with the required trigger type must first be created in the **Webhooks** section. The same webhook can be reused across multiple Button fields. Please note that the **"Run Webhook"** action is not available in shared views or shared bases.</Callout>
39
40
40
41
#### Edit Webhook
41
42
To edit a webhook, click on the `Edit` icon next to the webhook name in the Button field settings. This will open the webhook settings modal, where you can edit the webhook URL, method, headers, and payload. Click on the `Save changes` button to save the changes.
@@ -50,8 +51,7 @@ Created webhook can be accessed by using the [Webhook](/docs/product-docs/automa
- Deleting a webhook will remove it from all Button fields that are using it.
55
-
- Deleting a Button field will not delete the webhook associated with it.
56
-
- Same Webhook can be used across multiple Button fields.
57
-
</Callout>
54
+
<Callouttype="note">Deleting a webhook will remove it from all Button fields that reference it, whereas deleting a Button field will not affect the associated webhook. A single webhook can also be reused across multiple Button fields.</Callout>
0 commit comments