· Owner at No Black Swan

🚨 Help Needed: Xano Not Replacing Variables in External API Request (Webflow CMS)

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:

  1. 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}}"
        }
      }'
    
  2. Pasted this into the Inputs field in Xano:

    {
      "name": "Test Item",
      "slug": "test-item"
    }
    
  3. Ran the request, but got this response from Webflow:

    {
      "message": "Validation Error: Field 'name': Field is required",
      "code": "validation_error",
      "details": []
    }
    
    • The name and slug fields are null or {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 params are set).

  • Show the Inputs section (where name and slug are defined).

Some screenshots attached.

6 replies