AutomationFlowsSlack & Telegram › CRM Notifications

CRM Notifications

CRM Notifications. Uses httpRequest, telegram. Webhook trigger; 6 nodes.

Webhook trigger★★★★☆ complexity6 nodesHTTP RequestTelegram
Slack & Telegram Trigger: Webhook Nodes: 6 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Telegram recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "CRM Notifications",
  "nodes": [
    {
      "parameters": {
        "path": "crm-notification",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "contact-data",
              "name": "contact",
              "value": "={{ $json.contact }}",
              "type": "object"
            },
            {
              "id": "user-id",
              "name": "userId",
              "value": "={{ $json.userId }}",
              "type": "number"
            },
            {
              "id": "action",
              "name": "action",
              "value": "={{ $json.action }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "set-crm-data",
      "name": "Set CRM Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.3,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "url": "={{ $env.APP_URL }}/api/users/{{ $json.userId }}/telegram",
        "options": {
          "headers": {
            "Content-Type": "application/json"
          }
        }
      },
      "id": "get-telegram-info",
      "name": "Get Telegram Info",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "telegram-enabled",
              "leftValue": "={{ $json.telegram_enabled }}",
              "rightValue": true,
              "operator": {
                "type": "boolean",
                "operation": "equal"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "check-telegram-enabled",
      "name": "Check Telegram Enabled",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        900,
        300
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "action-text",
              "name": "actionText",
              "value": "={{ $json.action === 'created' ? '\u2795 New Contact Added' : $json.action === 'updated' ? '\u270f\ufe0f Contact Updated' : $json.action === 'interaction' ? '\ud83d\udcac New Interaction Logged' : 'Contact Update' }}",
              "type": "string"
            },
            {
              "id": "status-text",
              "name": "statusText",
              "value": "={{ $json.contact.status === 'new_lead' ? 'New Lead' : $json.contact.status === 'qualified_lead' ? 'Qualified Lead' : $json.contact.status === 'warm_prospect' ? 'Warm Prospect' : $json.contact.status === 'hot_prospect' ? 'Hot Prospect' : $json.contact.status }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "format-message-data",
      "name": "Format Message Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.3,
      "position": [
        1120,
        200
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $json.telegram_chat_id }}",
        "text": "{{ $json.actionText }}\n\n\ud83d\udc64 <b>{{ $json.contact.name }}</b>\n{{ $json.contact.company ? `\ud83c\udfe2 ${$json.contact.company}` : '' }}\n{{ $json.contact.position ? `\ud83d\udcbc ${$json.contact.position}` : '' }}\n\ud83d\udcca Status: {{ $json.statusText }}\n\u2b50 Referral: {{ $json.contact.referral_potential }}/5\n\n<a href=\"{{ $env.APP_URL }}/contacts/{{ $json.contact.id }}\">View Contact</a>",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "id": "send-crm-notification",
      "name": "Send CRM Notification",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        1340,
        200
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Set CRM Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set CRM Data": {
      "main": [
        [
          {
            "node": "Get Telegram Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Telegram Info": {
      "main": [
        [
          {
            "node": "Check Telegram Enabled",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Telegram Enabled": {
      "main": [
        [
          {
            "node": "Format Message Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Message Data": {
      "main": [
        [
          {
            "node": "Send CRM Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [],
  "triggerCount": 1,
  "updatedAt": "2024-01-15T10:00:00.000Z",
  "versionId": "1"
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

CRM Notifications. Uses httpRequest, telegram. Webhook trigger; 6 nodes.

Source: https://github.com/iamtij/simpleschedule/blob/0af40801e669d5f99aefe7989a50bd036acd35d2/n8n-workflows/crm-notifications.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

WF_UNIFIED_LEGAL_AUTOMATION. Uses googleSheets, httpRequest, telegram, telegramTrigger. Webhook trigger; 53 nodes.

Google Sheets, HTTP Request, Telegram +1
Slack & Telegram

qualiopi. Uses airtable, telegram, emailSend, httpRequest. Webhook trigger; 51 nodes.

Airtable, Telegram, Email Send +3
Slack & Telegram

PsyCardv2. Uses executeCommand, telegram, readBinaryFile, googleDrive. Webhook trigger; 41 nodes.

Execute Command, Telegram, Read Binary File +2
Slack & Telegram

Settings. Uses httpRequest, postgres, telegram. Webhook trigger; 38 nodes.

HTTP Request, Postgres, Telegram
Slack & Telegram

[](https://www.linkedin.com/in/mosaab-yassir-lafrimi/)[](https://t.me/joevenner)

HTTP Request, Redis, S3 +1