AutomationFlowsData & Sheets › Reset Campaign Limits in Postgres

Reset Campaign Limits in Postgres

Original n8n title: Reset Limite Campanha

Reset limite campanha. Uses postgres. Scheduled trigger; 2 nodes.

Cron / scheduled trigger★☆☆☆☆ complexity2 nodesPostgres
Data & Sheets Trigger: Cron / scheduled Nodes: 2 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": "Reset limite campanha",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 0 * * *"
            }
          ]
        }
      },
      "id": "8166d759-0e68-49b0-9183-f215cf956990",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        300,
        460
      ]
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "UPDATE accounts\nSET limite_disparo = 100",
        "options": {}
      },
      "id": "b9b20a59-d5ad-4983-8f97-80174ad3d0c9",
      "name": "Adiciona limite",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.4,
      "position": [
        580,
        460
      ],
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Adiciona limite",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "875ac33b-0a52-4ce9-9d08-e9b9504930a7",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "2YWttfWP2o5hr4wa",
  "tags": []
}

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

Reset limite campanha. Uses postgres. Scheduled trigger; 2 nodes.

Source: https://github.com/andermarcebr/ChatWoot-Disparador-de-Campanhas/blob/main/reset-limite-campanhas.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

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

Data & Sheets

AsaasAutomatic. Uses postgres. Scheduled trigger; 7 nodes.

Postgres
Data & Sheets

BTC_Poll. Uses start, httpRequest, postgres. Scheduled trigger; 5 nodes.

Start, HTTP Request, Postgres
Data & Sheets

Recordatorio de Citas - 24 horas antes. Uses postgres, emailSend, httpRequest. Scheduled trigger; 5 nodes.

Postgres, Email Send, HTTP Request
Data & Sheets

QuepasaAutomatic. Uses postgres. Scheduled trigger; 5 nodes.

Postgres
Data & Sheets

Project Genji - Complete Data Pipeline. Uses schedule, executeCommand, postgres. Scheduled trigger; 4 nodes.

Schedule, Execute Command, Postgres