Publish live-item in webflow not working

Describe the problem/error/question

We encounter trouble publishing items to “live” using the “update” node.
image

It seems the call in the current release of the webflow-node still uses kind of a V1-resource
/collections/${collectionId}/items/${itemId}
(see n8n/packages/nodes-base/nodes/Webflow/V2/actions/Item/update.operation.ts at master · n8n-io/n8n · GitHub)

the official webflow-API gives a different endpoint for publishing items:
/collections/collection_id/items/publish
image

Is this a known issue or will this be addressed in a feature update or bugfix?

Share the output returned by the last node

[
  {
    "id": "66c73c5942b4ce9b0041a0b4",
    "cmsLocaleId": "6669486a10887a7d2793cf7a",
    "lastPublished": null,
    "lastUpdated": "2024-08-22T13:26:08.795Z",
    "createdOn": "2024-08-22T13:25:45.614Z",
    "isArchived": false,
    "isDraft": false,
    "fieldData": {
      "name": "xxxxxx"
      "url": "xxxxxx",
      "slug": "xxxxxx",
      "customer": "xxxxxx"
    }
  }
]

Information on your n8n setup

  • **n8n version:1.55.3
  • **Database (default: SQLite):SQLite
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):?
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • **Operating system:Debian 6.1

There’s a separate discussion on the latest Webflow node updates: Webflow integration isn’t working

Hey @nabossha

I must have missed that one, thanks for the report I will get it updated most likely when I am back from leave in 2 weeks.

@colleen this is a different issue to the one in the thread you linked which is around the wrong credentials being used.

1 Like

@Jon thank you very much that is great to know that it will be addressed. looking forward to the bugfix

@Jon - Maybe I’m not following this correctly – But if the endpoint is updated to v2, won’t that also mean that credentials will need to be updated to use Webflow Oauth2 API? And that then means creating a Webflow app? I’m not certain I’m following all the requirements for the new nodes, so I may be wrong here. Thanks! (I’m hoping I’m wrong here.)

HI @Jon just wanted to ask if you were already able to check out on this Issue or i I can assist with analyzing or solving the problem. thank you very much :slight_smile:

1 Like

I’m in the process of upgrading a huuuge n8n workflow to the Webflow API v2 and just ran into this issue. So I’m very much interested in this fix.

So far I’ve solved it by adding a function node that collects all ItemIDs from the previous Webflow create node, and then using a html-node sending a separate API request for publishing said ids (documentation).

That works, sort of.

My main issue that I need to tackle are when deleting items, because that seems to break creating any new items – unless you publish the site manually (or via the API). Which is not ideal because you risk publishing stuff, that are not yet ready (depending on how structured/good your webflow users are when editing – most are not that good).

The built in Webflow node, does not have this publish function anyway, so I guess I will try to go the custom route. Good thing about this, is that I learn a bunch.

Thanks for creating n8n :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.