This workflow automates user onboarding with AI assistance, integrating with Slack, Microsoft Entra ID, and Jira. Key nodes include User Creation Form (collects user details), Validate Form Input (checks name/email), Sanitize User Data (cleans inputs), AI User Onboarding Agent (processes onboarding with Anthropic), Microsoft Entra ID Tool (checks user existence), Jira User Creation Tool (creates accounts), Add Manager to Channel (adds managers to Slack), Update Employee Profile (updates Slack profiles), and response nodes (Manager/Employee Success Handler). Error handlers (Input Validation Error, AI Configuration Error, Slack Error Handler) ensure robust processing.\n\nSetup Requirements and Configuration: Install n8n from n8n.io for self-hosting or sign up at cloud.n8n.io. Obtain an Anthropic API key from anthropic.com, Microsoft Entra ID OAuth2 credentials from Azure Portal, Jira API token from Jira settings, and Slack OAuth2 token from api.slack.com. Import the JSON workflow in n8n. Configure Anthropic Chat Model, Microsoft Entra ID Tool, Jira User Creation Tool, Add Manager to Channel, and Update Employee Profile nodes with respective credentials under ‘Credentials.’ Set environment variables ANTHROPIC_API_KEY, ENABLE_AI_AGENT, SLACK_MANAGERS_CHANNEL, and ENABLE_SLACK_INTEGRATION. Set up a PostgreSQL database for Postgres Chat Memory, adding credentials in n8n. Ensure internet access for API calls. Configure the User Creation Form with a public URL in the n8n settings. \ n\nTesting and Deployment Steps: Activate the workflow to generate the form URL. Submit a test form with a valid name, email (e.g., test@company.com), and role. Validate outputs in Manager Success Handler (Slack channel invite) or Employee Success Handler (profile update) via Slack. Check n8n logs for errors like ‘Invalid Anthropic API key,’ ‘Slack OAuth failure,’ or ‘Invalid email format.’ Input Validation Error returns HTTP 400 for missing names/emails. Verify AI output in Final Response Handler for user details and onboarding steps. Test error cases: submit an invalid email or disable Slack integration. Debug using logs for credential or API issues. Confirm Jira user creation and Slack profile updates align with input data.
$6.99
Workflow steps: 24
Integrated apps: formTrigger, if, set