AutomationFlowsWeb Scraping › Agenda Create - Multi-tenant

Agenda Create - Multi-tenant

Agenda Create - Multi-tenant. Uses httpRequest. Webhook trigger; 7 nodes.

Webhook trigger★★★★☆ complexity7 nodesHTTP Request
Web Scraping Trigger: Webhook Nodes: 7 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
{
  "name": "Agenda Create - Multi-tenant",
  "nodes": [
    {
      "parameters": {
        "path": "agenda-create",
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "name": "Webhook Agenda",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1.1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "const tenant = $json.tenant;\nconst name = $json.name;\nconst phone = $json.phone;\nconst email = $json.email;\nconst datetime = $json.datetime;\nconst reason = $json.reason || 'Reuni\u00f3n comercial';\n\nreturn [{\n  tenant: tenant,\n  contact: {\n    name: name,\n    phone: phone,\n    email: email\n  },\n  event: {\n    datetime: datetime,\n    reason: reason\n  }\n}];"
      },
      "name": "Normalize Data",
      "type": "n8n-nodes-base.function",
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "url": "=https://odoo.smarterbot.cl/api/v1/contacts",
        "authentication": "genericCredentialType",
        "httpMethod": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={{ {\"name\": $json.contact.name, \"phone\": $json.contact.phone, \"email\": $json.contact.email} }}"
      },
      "name": "Create Contact Odoo",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        650,
        200
      ]
    },
    {
      "parameters": {
        "url": "=https://odoo.smarterbot.cl/api/v1/leads",
        "authentication": "genericCredentialType",
        "httpMethod": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={{ {\"name\": \"Lead de \" + $json.contact.name, \"contact_id\": $json.id, \"stage\": \"Llamada agendada\"} }}"
      },
      "name": "Create Lead CRM",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        850,
        200
      ]
    },
    {
      "parameters": {
        "url": "=https://odoo.smarterbot.cl/api/v1/calendar/events",
        "authentication": "genericCredentialType",
        "httpMethod": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={{ {\"name\": $input.first().json.event.reason, \"start\": $input.first().json.event.datetime, \"duration\": 1, \"partner_id\": $json.contact_id} }}"
      },
      "name": "Create Calendar Event",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1050,
        200
      ]
    },
    {
      "parameters": {
        "url": "=https://crm.smarterbot.cl/api/v1/accounts/1/conversations",
        "authentication": "genericCredentialType",
        "httpMethod": "POST",
        "jsonParameters": true,
        "bodyParametersJson": "={{ {\"source_id\": $input.first().json.contact.phone, \"inbox_id\": 1, \"message\": \"Nueva llamada agendada para \" + $input.first().json.event.datetime} }}"
      },
      "name": "Notify Chatwoot",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1250,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ {\"success\": true, \"message\": \"Llamada agendada correctamente\", \"datetime\": $input.first().json.event.datetime} }}"
      },
      "name": "Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1450,
        300
      ]
    }
  ],
  "connections": {
    "Webhook Agenda": {
      "main": [
        [
          {
            "node": "Normalize Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Data": {
      "main": [
        [
          {
            "node": "Create Contact Odoo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Contact Odoo": {
      "main": [
        [
          {
            "node": "Create Lead CRM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Lead CRM": {
      "main": [
        [
          {
            "node": "Create Calendar Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Calendar Event": {
      "main": [
        [
          {
            "node": "Notify Chatwoot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Chatwoot": {
      "main": [
        [
          {
            "node": "Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Agenda Create - Multi-tenant. Uses httpRequest. Webhook trigger; 7 nodes.

Source: https://github.com/SmarterCL/os.smarterbot.cl/blob/0c9c17e0e6d7e57ba50d1141b656b14242162c9d/n8n-workflows/agenda-create.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

This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di

n8n, Execute Workflow Trigger, HTTP Request +1
Web Scraping

This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .

HTTP Request, Ssh
Web Scraping

This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c

HTTP Request
Web Scraping

Sign PDF documents with legally-compliant digital signatures using X.509 certificates. Supports multiple PAdES signature levels (B, T, LT, LTA) with optional visible stamps.

Execute Command, HTTP Request, Read Write File +1
Web Scraping

📡 This workflow serves as the central Alpha Vantage API fetcher for Tesla trading indicators, delivering cleaned 20-point JSON outputs for three timeframes: , , and . It is required by the following a

HTTP Request