Webhook subscopes
When you specify a list of columnIds as the "subscope" for a webhook, what does that mean? Will you still get events for changes to the sheet, attachments, row order, etc..... things that aren't really relevant to a particular column, but filter out events on cells in that column or changes to the column itself? Or will all changes not relevant to a column also be filtered out? I couldn't find clarity about this in the documentation.
Best Answer
-
Hi @sgolux
Defining a subscope of specific columns means that the webhook is only subscribed to those specific columns.
That means that events outside of those columns or not relevant to those columns (eg. an attachment, a change in a different column) will be filtered out and will not fire the webhook.
- A webhook with no subscope will be triggered for any change to its sheet.
- A webhook with a subscope will be triggered if the change matches the subscope.
- A webhook with a subscope will not be triggered if the change doesn't match the subscope.
The exception to this is if a row is deleted: this will always send a "row.deleted" event even if the relevant ColumnID defined in the subscope was blank for that row. (See: Webhook Scope & Events)
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @sgolux
Defining a subscope of specific columns means that the webhook is only subscribed to those specific columns.
That means that events outside of those columns or not relevant to those columns (eg. an attachment, a change in a different column) will be filtered out and will not fire the webhook.
- A webhook with no subscope will be triggered for any change to its sheet.
- A webhook with a subscope will be triggered if the change matches the subscope.
- A webhook with a subscope will not be triggered if the change doesn't match the subscope.
The exception to this is if a row is deleted: this will always send a "row.deleted" event even if the relevant ColumnID defined in the subscope was blank for that row. (See: Webhook Scope & Events)
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Awesome, thanks!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives