Библиотека / Задачи и управление проектами
Задачи и управление проектами
Направлять заявки в IT-службу из slash-команды Slack через согласование в Postgres
Когда сотрудник вызывает slash-команду /it в Slack, открывается модальное окно с каталогом услуг из Postgres, согласование отправляется руководителям или главе IT через личные сообщения, и каждая заявка записывается.
Что делает
## Internal IT Service Catalog in Slack ### How it works Employees type /it in Slack, pick a service from a catalog and fill in a short form. The workflow does the rest. 1. Catalog modal: the slash command opens a modal listing active services by category. After choosing one, the modal turns into that service's own form (dropdowns, text fields, justification), all defined in the database. 2. Approval when required: a service can need no approval, the requester's manager, or the IT lead. The approver gets a Slack DM with Approve and Deny buttons, only they can decide, and the message updates in place. 3. Fulfillment: services with an automation endpoint run it automatically (password reset, access grants). Anything else, and any automation that fails, goes to the IT queue channel with a Mark complete button. 4. Feedback and audit: the requester is told at every step, and every action is written to an audit table. New services are added with a single INSERT into sc_catalog_items, no workflow changes needed. ### Slack app setup - Create a Slack app with scopes commands, chat:write and im:write. Install it and use the bot token as a Header Auth credential (Authorization: Bearer xoxb-...) on every Slack HTTP node. - Slash command /it with Request URL https:// /webhook/it-catalog. - Interactivity Request URL https:// /webhook/it-interactive. - Copy the signing secret into Set Catalog Config (requests without a valid signature are rejected). ### Setup steps - Add Postgres credentials, then run the manual setup once. - Replace the placeholder Slack ids in the directory (employee, manager, IT lead) and set the IT queue channel id in Set Catalog Config. - Point the automation URLs in the catalog to your own endpoints (add a Header Auth credential to the automation node if needed). - Activate the workflow. ### Layout 1 Setup 2-3 Slack entry and slash command 4-7 Form, validation, request creation 8-9 Button clicks and approvals 10-12 Fulfillment and completion
Шаги
- Manual Trigger - Run Setup Once
- Postgres - Create Catalog Tables
- Webhook - Slack Slash Command
- Webhook - Slack Interactivity
- Set Catalog Config
- Code - Verify Slack Request
- Switch - Route Request Kind
- Respond - Reject Unverified
- Respond - Acknowledge Slash Command
- Postgres - Load Active Catalog
- Code - Build Catalog Modal
- HTTP - Open Catalog Modal
- Code - Route Interaction
- Switch - Route Interaction
Всего шагов: 50.
Похожие автоматизации
Задачи и управление проектамиСоздание задач ClickUp из слэш-команд Slack через webhookШагов: 4Оповещения и уведомленияСводка непрочитанных сообщений Slack командой ClaudeШагов: 8Чат-боты и боты для мессенджеровСоздание чат-бота OpenAI со слэш-командами SlackШагов: 5Поддержка клиентов и служба помощиПоказ сведений об инциденте ServiceNow в Slack по slash-командеШагов: 7