CRUD Operations for Drift CRM Contacts

This workflow automates Drift CRM contact management with CRUD operations (create, update, read, delete) using the Drift API. Key nodes include Manual Trigger (starts workflow), Initialize Contact Data (sets email, name, workflow_status), Validate Input Data (ensures non-empty email and name), Create/Update/Get/Delete Drift Contact (performs CRUD operations), Check Contact Created/Updated/Retrieved (verifies operation success), Success Response (returns contact_id, operations_performed), and Input Validation/Creation/Update/Retrieval Error Response (handles errors). The workflow ensures robust contact management with validation checks.\n\nSetup Requirements and Configuration: Install n8n from n8n.io for self-hosting or sign up at cloud.n8n.io for cloud setup. Follow installation prompts or create a cloud account. Obtain a Drift API token from app.drift.com: log in, go to Settings > App Settings > API Tokens, and generate a token. In n8n, import the JSON workflow. Configure Create/Update/Get/Delete Drift Contact nodes with your API token under ‘Credentials’ > ‘Drift API’ in n8n’s interface. Replace Manual Trigger with a Webhook Trigger: set path to ‘drift-crud,’ configure for POST requests, and optionally add header authentication with a secure key. Ensure sufficient server resources are allocated for API calls. Testing and Deployment Steps: Test via Postman with a POST request to the Webhook URL. Example JSON: {'email': 'test123@gmail.com', 'name': 'TestUser'} with an authentication header if set. Alternatively, use Manual Trigger. ‘Success Response’ returns a 200 status with contact_id and operations_performed (create, update, get, delete). Error nodes return 400 for invalid inputs (e.g., missing email/name), 500 for creation/update failures, or 404 for retrieval failures. Check logs for errors like ‘Invalid API token’ or ‘Contact not found,’ and verify credentials or input data. Activate workflow in n8n. Validate output to ensure contact_id is consistent across operations, and operations_performed lists all CRUD steps. If errors persist, confirm Drift API token validity and network connectivity.

$5.49

Workflow steps: 15

Integrated apps: manualTrigger, set, if

CRUD Operations for Drift CRM Contacts preview