Send table name in a webhook

Hey @Alex & @lgeraldes,

Not only am I an n8n expert I am one of the Community Engineers :joy:

Looking at the webhooks from Baserow they don’t currently use the name but because Baserow webhooks are per table there are some alternative options.

  1. In your webhook add a custom header say table-name then set that value to your table name, Now in the n8n webhook under Headers you will see table-name and the value will be what you send.

Baserow

n8n

  1. Use a different webhook path for each webhook, You can have multiple webhook triggers in a workflow so you could have one workflow for each database then have the path set to match the table name.

Normally I would suggest using an API call to get the value but I can’t see an API call that would get the name from the ID of a table, In n8n we first call /api/applications/ to get all the databases then we call /api/database/tables/database/${databaseId} to get the tables so I guess that process could be copied but to be honest it is likely to be more work than option 1 but if needed I can work on a quick example over the weekend.