AutomationFlowsWeb Scraping › WhatsApp Chat Contact Management Flow

WhatsApp Chat Contact Management Flow

Original n8n title: Front

front. Uses n8n-nodes-wts, httpRequest. Event-driven trigger; 12 nodes.

Event trigger★★★☆☆ complexity12 nodesN8N Nodes WtsHTTP Request
Web Scraping Trigger: Event Nodes: 12 Complexity: ★★★☆☆ Added:

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
{
  "active": false,
  "connections": {
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "WTS Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WTS Chat": {
      "main": [
        [
          {
            "node": "WTS Chat1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WTS Chat1": {
      "main": [
        [
          {
            "node": "WTS Chat2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "createdAt": "2024-11-07T21:11:06.352Z",
  "id": "zTLzVDQNENY7sdsG",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "front",
  "nodes": [
    {
      "parameters": {},
      "id": "6ea5a77e-61c6-4b6e-b237-0f0f80ea679b",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        600,
        780
      ]
    },
    {
      "parameters": {
        "operation": "createContact",
        "phonenumber": "5511884455771",
        "name": "teste",
        "email": "teste@teste.com",
        "instagram": "testeinsta"
      },
      "id": "6ceb6595-2036-44ce-afc5-f97dece3844d",
      "name": "WTS Chat",
      "type": "n8n-nodes-wts.wtsChat",
      "typeVersion": 1,
      "position": [
        820,
        780
      ],
      "credentials": {}
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.wts.chat/core/v1/contact",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "teste1"
            },
            {
              "name": "phoneNumber",
              "value": "5511999999999"
            },
            {
              "name": "email",
              "value": "teste1@teste.com"
            },
            {
              "name": "instagram",
              "value": "insta1"
            }
          ]
        },
        "options": {}
      },
      "id": "6380a998-bf96-4013-a61b-178c79c3e61a",
      "name": "cria_contato",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        460
      ]
    },
    {
      "parameters": {},
      "id": "53f14be8-4ea4-4e87-bb2c-b914bb95ce4a",
      "name": "WTS Chat1",
      "type": "n8n-nodes-wts.wtsChat",
      "typeVersion": 1,
      "position": [
        1040,
        780
      ],
      "credentials": {}
    },
    {
      "parameters": {
        "operation": "getContactByPhone",
        "phonenumber": "5511999999999"
      },
      "id": "fd57fc63-474a-4a3e-bb2b-5f86bde6346b",
      "name": "WTS Chat2",
      "type": "n8n-nodes-wts.wtsChat",
      "typeVersion": 1,
      "position": [
        1260,
        780
      ],
      "credentials": {}
    },
    {
      "parameters": {
        "url": "https://api.wts.chat/core/v1/contact/a1c35537-ce66-418d-9a1f-9293a3f3a013",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "options": {}
      },
      "id": "0adeebc4-62a4-422e-b2ab-fe6e8a3c79aa",
      "name": "obter_contato_por_id",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        860,
        460
      ]
    },
    {
      "parameters": {
        "url": "https://api.wts.chat/core/v1/contact/phonenumber/5511999999999",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "options": {}
      },
      "id": "7ee926e3-5086-43a8-bd0f-1165352ca6a3",
      "name": "obter_contato_por_telefone",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1060,
        460
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.wts.chat/core/v1/contact/filter",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/*+json",
        "body": " { \"email\": \"teste@teste.com\" } ",
        "options": {}
      },
      "id": "cdec5e66-24fa-4993-9950-4159a33d123c",
      "name": "filtra_por_email",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        460,
        460
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.wts.chat/core/v1/contact/filter",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/*+json",
        "body": " { \"instagram\": \"@testeinsta\" } ",
        "options": {}
      },
      "id": "978252de-8ac4-42b0-98df-73f229c97bd9",
      "name": "filtra_por_instagram",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        620
      ]
    },
    {
      "parameters": {
        "url": "https://api.wts.chat/core/v1/contact/custom-field",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "options": {}
      },
      "id": "f0e0edbe-3746-46e7-a62c-8f242c146e2f",
      "name": "lista_campos_personalizados",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        620
      ]
    },
    {
      "parameters": {
        "url": "https://api.wts.chat/core/v1/tag",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "options": {}
      },
      "id": "c346be50-6273-4c72-87c2-050c090570e8",
      "name": "lista_etiquetas",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        920,
        620
      ]
    },
    {
      "parameters": {
        "method": "PUT",
        "url": "https://api.wts.chat/core/v1/contact/76c9a973-f83d-45a4-9665-15b99b89e35e",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "pn_BrhZQfvFYhlufVyvwcGX6FDgXcYKXCpMXtBjVyrIlcA"
            },
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "contentType": "raw",
        "rawContentType": "application/*+json",
        "body": " { \"fields\": [ \"Instagram\", \"Tags\", \"Name\", \"PhoneNumber\", \"Email\", \"Annotation\", \"Tags\", \"Utm\" ], \"name\": \"Individuo\", \"phoneNumber\": \"5551981403176\", \"email\": \"email@teste.com\", \"instagram\": \"@isntaind\", \"annotation\": \"anota\", \"tagIds\": [ \"fefb80d7-6103-48ea-bbd2-69f4199501ee\" ], \"tagNames\": [ \"string\" ], \"portfolioIds\": [ \"3fa85f64-5717-4562-b3fc-2c963f66afa6\" ], \"portfolioNames\": [ \"string\" ], \"sequenceIds\": [ \"3fa85f64-5717-4562-b3fc-2c963f66afa6\" ], \"status\": \"ACTIVE\", \"pictureUrl\": \"string\", \"customFields\": { \"additionalProp\": null }, \"metadata\": { \"additionalProp\": null }, \"utm\": { \"source\": \"1\", \"medium\": \"2\", \"campaign\": \"3\", \"content\": \"4\", \"headline\": \"string\", \"term\": \"5\", \"referralUrl\": \"string\" } } ",
        "options": {}
      },
      "id": "7581385f-2f4e-45b6-aa21-2febecbd99f4",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1140,
        620
      ]
    }
  ],
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [],
  "triggerCount": 0,
  "updatedAt": "2024-11-07T21:11:06.352Z",
  "versionId": "527d82db-cba2-4ef1-b717-462860c6bf02"
}
Pro

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

About this workflow

front. Uses n8n-nodes-wts, httpRequest. Event-driven trigger; 12 nodes.

Source: https://github.com/automagicbots2/n8n-backup-workflows-patricia-gasparian1/blob/b15a7f8db84b57de3cec38267a58e5e2789d9380/workflows/front.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

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

Web Scraping

The Sora 2 API allows seamless generation of CGI ads, turning text prompts into stunning videos. This workflow automates the entire process from video generation to upload, notification, and file shar

Form Trigger, HTTP Request, Email Send +1
Web Scraping

This template syncs prospects from ProspectPro into HubSpot. It checks if a company already exists in HubSpot (by ProspectPro ID or domain), then updates the record or creates a new one. Sync results

Execute Workflow Trigger, @Bedrijfsdatanl/N8N Nodes Prospectpro, HTTP Request +1
Web Scraping

Say goodbye to messy JSON exports. Treat your n8n automations like real software with a built-in CI/CD pipeline.

GitHub, HTTP Request, Form Trigger +2
Web Scraping

This workflow uses an n8n Form trigger and the X (Twitter) API to publish a text-only post or a post with a single uploaded image, then returns a success/error payload including the resulting tweet UR

Form Trigger, HTTP Request
Web Scraping

QuorumPulse-v1.1-Single. Uses rssFeedRead, httpRequest. Event-driven trigger; 29 nodes.

RSS Feed Read, HTTP Request