Can't create Slack channel if node is preceded by anything (Error: name_taken)

Describe the problem/error/question

I am trying to develop a workflow for creating a slack channel in an existing server, and adding people already belonging to it to that new channel using the emails associated with said account (and thus most of the nodes), but for some reason, the Slack “Create meeting channel” node always gives the "ERROR: Slack error response: “name_taken”, unless separated from the workflow and ran in isolation (no flow going to it).

What is the error message (if any)?

"ERROR: Slack error response: “name_taken”

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.18
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: Windows 11

@Carrico , Slack channel has to be unique. If it already exists, then you get that error message (which comes from Slack) - nothing to do with being separate from the rest of workflow. I’m using similar workflow (much more complex though) to automatically create channels and it works without such issue. I do make sure the name is unique.


Yes, that was the first thing I tried to make sure of, but I must be too tired, because I just found the problem thanks to you, and it was not that I wasn’t using a unique name, It’s that the node tries to create the channel one time per each entry in the input, which was creating the channel and throwing out the error.
Many thanks for the help, you really made it click for me.

1 Like

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