Библиотека / Задачи и управление проектами
Задачи и управление проектами
Онбординг пользователей Nextcloud из формы с подтверждением через Gmail и проверками в PostgreSQL
Запускается по форме запроса пользователя, проверяет дубликаты в PostgreSQL, запрашивает подтверждение по электронной почте, затем создает одобренные учетные записи Nextcloud через SSH и API и отправляет новому пользователю его данные для входа.
Что делает
## Automated Nextcloud User Onboarding with Email Approval, PostgreSQL Sync & Mobile QR ### How it works This workflow automates Nextcloud onboarding from a submitted request form. It checks PostgreSQL for an existing user, logs the request, routes duplicates or approval decisions by email, and then provisions approved users through SSH, PostgreSQL, Google Sheets, and the Nextcloud API. After provisioning, it generates a mobile QR login asset and sends the new user their welcome email with credentials and attachment. ### Setup steps - Configure the form trigger fields to collect the user details required for PostgreSQL, Nextcloud, and email notifications. - Add PostgreSQL credentials and verify the select, insert/update, and rejection logging queries match your user table schema. - Connect Google Sheets credentials and select the spreadsheet/ranges used for request logging and status updates. - Connect Gmail credentials for admin approval requests, duplicate-account notices, rejection notices, and welcome emails. - Configure SSH credentials and commands for creating the user's storage directory on the target server. - Set the Nextcloud API base URL, OCS endpoint, authentication credentials, and request payload for user provisioning. - Review the code nodes for temporary password generation, QR login URL construction, and attachment formatting before enabling the workflow. ### Customization You can adjust the admin approval email content, password rules, PostgreSQL schema mappings, Google Sheets columns, Nextcloud quota/groups, and the QR code URL format to match your onboarding policy.
Шаги
- When Form Submitted
- Verify User in PostgreSQL
- Log to Google Sheets
- If User Exists
- Notify User Exists
- Request Admin Approval
- If Admin Approved
- Log Rejection in DB
- Notify Request Rejected
- Create Directory via SSH
- Create Temp Password
- Add User to DB
- Update Google Sheets Status
- Post to Nextcloud API
Всего шагов: 18.
Похожие автоматизации
Код, Git и инструменты разработчикаРазвёртывание и управление контейнерами Nextcloud по SSHШагов: 98Код, Git и инструменты разработчикаРазвёртывание и управление NextCloud в Docker по SSHШагов: 43Код, Git и инструменты разработчикаУстановка и управление базами данных PostgreSQL или MySQL по SSHШагов: 14Файлы и облачное хранилищеЗагрузка отсканированных PDF в Nextcloud по расписаниюШагов: 23