create-a-new-customer-support-channel-and-invite-ownerslisted
Install: claude install-skill zapier/awesome-zaps
# Create a new customer support channel and invite owners
The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/create-a-new-customer-support-channel-and-invite-owners. Read the files there if this skill was installed on its own.
## What it does
1. **Trigger:** another Zap or workflow calls this one through `sub-zap-by-zapier` (`start_subzap`), passing `customer_reference`, `brief_title` and `owner_slack_id`. Set the trigger's `input_list` to those three keys so the input matches the code.
2. The channel name is built from `CHANNEL_PREFIX`, the customer reference and the title, lowercased and stripped to the characters Slack allows (for example `cust-acme-42-onboarding`).
3. **`slack`** creates the channel. If Slack says the name is taken, it tries `-2`, `-3` and so on, up to `MAX_NAME_ATTEMPTS`. Any other error stops the run.
4. **`slack`** invites the owner by Slack user ID. If `owner_slack_id` is empty, this step is skipped.
5. **`slack`** invites the support group in `SUPPORT_USER_IDS`. If the list is empty, this step is skipped.
6. The workflow returns `channel_id`, `channel_name`, and whether the owner and support members were invited, so the calling automation can use the channel.
The run creates a real public channel in the Slack workspace, so test with a reference that is obviously a test.
## Ask the user
Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | Where