{
  "name": "workflow automates task completion notifications Gmail & slack when Done",
  "nodes": [
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "340aefec-7b2b-452a-bf2c-d48ee8d2c50e",
              "leftValue": "={{ $json.status }}",
              "rightValue": "=done",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        -240,
        192
      ],
      "id": "9ebbda59-fd3b-428b-ba4f-c4f1a9741118",
      "name": "If"
    },
    {
      "parameters": {
        "sendTo": "=ah656564a@gmail.com",
        "subject": "=daily report",
        "message": "=hi ahmed..  today we fineshd  {{ $json.task }}",
        "options": {
          "senderName": "seo for all "
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        0,
        176
      ],
      "id": "b9781f20-b548-45c0-bd65-9fd6b260baff",
      "name": "Send a message",
      "webhookId": "6d401e21-7062-4d0c-91d6-63f5dc32003c",
      "credentials": {
        "gmailOAuth2": {
          "id": "SfAd6KVRZamEnYSD",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "documentId": {
          "__rl": true,
          "value": "10Mg6PuHzfnKxRYmXymH_xMl60qdDMce5qga9ca7kxf8",
          "mode": "list",
          "cachedResultName": "Trends",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/10Mg6PuHzfnKxRYmXymH_xMl60qdDMce5qga9ca7kxf8/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Trends",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/10Mg6PuHzfnKxRYmXymH_xMl60qdDMce5qga9ca7kxf8/edit#gid=0"
        },
        "event": "rowUpdate",
        "options": {
          "columnsToWatch": [
            "status"
          ]
        }
      },
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "typeVersion": 1,
      "position": [
        -400,
        192
      ],
      "id": "c7de7dee-9268-4c75-8939-f9feaa9cb447",
      "name": "Google Sheets Trigger",
      "credentials": {
        "googleSheetsTriggerOAuth2Api": {
          "id": "grgSbzWhfD4lDet3",
          "name": "Google Sheets Trigger account"
        }
      }
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 5,
              "triggerAtMinute": 15
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -400,
        32
      ],
      "id": "d0fd474f-4d31-47a7-98f9-975029732319",
      "name": "Schedule Trigger"
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "C09QAL6Q8F4",
          "mode": "list",
          "cachedResultName": "n8n"
        },
        "text": "=hi ahmed the  {{ $json.task }} is done 🫡",
        "otherOptions": {}
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.3,
      "position": [
        0,
        0
      ],
      "id": "4a047f63-ff16-45b1-89b2-6ce0d28629bb",
      "name": "Send a message1",
      "webhookId": "43dc18f5-ca0e-4a32-9425-012173c3e30e",
      "credentials": {
        "slackOAuth2Api": {
          "id": "14lgcwObdSaNX9zn",
          "name": "Slack account"
        }
      }
    },
    {
      "parameters": {
        "content": "## Developed and Design By aixperties.com ",
        "height": 80,
        "width": 336,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -304,
        384
      ],
      "id": "20fee111-c5a2-4c17-ba5f-c29ff7b203f2",
      "name": "Sticky Note"
    }
  ],
  "pinData": {},
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "availableInMCP": false
  },
  "versionId": "ac0ff191-80bb-4fed-a3c4-92a010f87ad1",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "e4a3f167fa24fd0d26a261aee1040ab9b28f172ecfd8749186d5fb541ee7b6b8"
  },
  "id": "h7mRfejKajcFf6AjRuJMT",
  "tags": []
}