Hi everyone,
I'm trying to send data from Xano to Webflow CMS using an External API Request, but my dynamic variables (name and slug) are not being replaced correctly. Instead, Webflow is receiving null or {name} as a literal string.
What I Did:
Imported this cURL request into Xano:
curl --request POST \ --url https://api.webflow.com/v2/collections/67a8af72813d1eab48523005/items \ --header "Authorization: Bearer MY_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "isArchived": false, "isDraft": false, "fieldData": { "name": "{{name}}", "slug": "{{slug}}" } }'Pasted this into the Inputs field in Xano:
{ "name": "Test Item", "slug": "test-item" }Ran the request, but got this response from Webflow:
{ "message": "Validation Error: Field 'name': Field is required", "code": "validation_error", "details": [] }The
nameandslugfields arenullor{name}, meaning Xano is not injecting the real values."Body should have required property 'items'"also appeared in some tests.
What I Need Help With:
๐น How do I ensure that Xano correctly injects name and slug into the request?
๐น Is there a different syntax Xano requires for passing dynamic variables?
๐น How do I confirm that Xano is actually sending data before the request is made?
Any examples that work, would be the best way for me to learn..
I appreciate any guidance! If needed, I can provide more screenshots or logs. Thanks in advance! ๐
๐ What Screenshots to Include?
โ Xano API Function Editor Screenshot:
Show the External API request step (where
paramsare set).Show the Inputs section (where
nameandslugare defined).
Some screenshots attached.