Join the Webstudio community

Updated 2 weeks ago

Is it necessary to use get and post if it is already done on n8n

I want to integrate data from airtable on webstudio and automate the process with n8n. N8N already offers post and get for the airtable api should I also integrate post and get on webstudio or json is enough if airtable is already integrated with n8n
O
A
20 comments
Sorry, don't understand the question. Try explaining what you are doing step by step
I want to display data from AirTable on WebStudio, and at the same time connect it to N8N to do automations. My question is: am I obliged to use Get and Post from WebStudio even if N8N uses it or to use JSON on WebStudio.
Sounds like you are talking about 2 features:
  1. rendering data from airtable
  2. posting data from webstudio to airtable
  3. doing some automations with the data in n8n
correct?
or do you post data from webstudio to n8n and want to do automations there before the data goes to airtable?
not clear what your flow is, what is being sent to where
proposition 1 and 3 is what I'm talking about. Is it mandatory to use get and post or just json could be enough?
do you post from webstudio to n8n?
if you do you would need to use a webhook
there is no get/post vs json, it doesn't work that way:

thre is methods: get/post/delete/patch etc
there is encoding: application/x-www-form-urlencoded, multipart/form-data

html forms are also encoded like above, they don't use json natively
I am assuming what you want is to get a json in n8n and not the form encoding
for this n8n has conversion nodes from form encoding to json, so you send it as a form from webstudio, then turn it into json in n8n
If I want the data from Airtable to be displayed on WebStudio, so I import it, what should I do?
You don't import it, you fetch the data in webstudio directly from airtable
its basic data fetching setup we have on many tutorials
check out building directory with airtable
webstudio is not a static site builder, its a server that can do things in. real time
just one last question is does the json depend on get or post?
Ok thanks a lot of 😊
Add a reply
Sign up and join the conversation on Discord