AutomationFlowsSlack & Telegram › Play Store Publish Approval

Play Store Publish Approval

Play Store Publish Approval. Uses telegram, telegramTrigger, httpRequest. Webhook trigger; 9 nodes.

Webhook trigger★★★★☆ complexity9 nodesTelegramTelegram TriggerHTTP Request
Slack & Telegram Trigger: Webhook Nodes: 9 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": "Play Store Publish Approval",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "playstore-approval",
        "options": {
          "rawBody": true
        }
      },
      "id": "webhook-receive",
      "name": "Receive Build Notification",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={\"status\": \"received\"}",
        "options": {
          "responseCode": 200
        }
      },
      "id": "respond-ok",
      "name": "Respond OK",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $json.body.chat_id }}",
        "text": "=\ud83d\ude80 *Play Store Publish Request*\n\n*Tag:* {{ $json.body.tag }}\n*Version:* {{ $json.body.version }}\n*Track:* {{ $json.body.track }}\n*Triggered by:* @{{ $json.body.actor }}\n*Run:* [View Build]({{ $json.body.run_url }})",
        "additionalFields": {
          "parse_mode": "Markdown",
          "reply_markup": "={\"inline_keyboard\": [[{\"text\": \"\u2705 Approve\", \"callback_data\": \"approve:{{ $json.body.run_id }}:{{ $json.body.track }}:{{ $json.body.tag }}\"}, {\"text\": \"\u274c Reject\", \"callback_data\": \"reject:{{ $json.body.run_id }}:{{ $json.body.track }}:{{ $json.body.tag }}\"}]]}"
        }
      },
      "id": "send-telegram-message",
      "name": "Send Telegram Message",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        680,
        300
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "additionalFields": {
          "updates": [
            "callback_query"
          ]
        }
      },
      "id": "telegram-trigger",
      "name": "Wait for Callback",
      "type": "n8n-nodes-base.telegramTrigger",
      "typeVersion": 1.1,
      "position": [
        240,
        520
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "// Parse callback_data: \"approve:12345678:beta:v1.2.3-beta\"\nconst callbackData = $json.callback_query.data;\nconst parts = callbackData.split(':');\n\nconst action = parts[0];\nconst runId = parts[1];\nconst track = parts[2];\nconst tag = parts.slice(3).join(':');\n\nreturn [{ json: {\n  action: action,\n  run_id: runId,\n  track: track,\n  tag: tag,\n  chat_id: $json.callback_query.message.chat.id,\n  bot_message_id: $json.callback_query.message.message_id,\n  approved_by: $json.callback_query.from.username || $json.callback_query.from.first_name,\n  repo: 'IITA-AKILIMO/akilimo-mobile'\n}}];"
      },
      "id": "parse-callback",
      "name": "Parse Callback",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        460,
        520
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": false,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "is-approve",
              "leftValue": "={{ $json.action }}",
              "rightValue": "approve",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "check-approved",
      "name": "Is Approve?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        680,
        520
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "=https://api.github.com/repos/{{ $json.repo }}/actions/workflows/publish.yml/dispatches",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/vnd.github.v3+json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"ref\": \"{{ $json.tag }}\",\n  \"inputs\": {\n    \"version\": \"{{ $json.tag }}\",\n    \"track\": \"{{ $json.track }}\",\n    \"approved_by\": \"{{ $json.approved_by }}\"\n  }\n}",
        "options": {}
      },
      "id": "trigger-publish",
      "name": "Trigger Publish Workflow",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        900,
        460
      ],
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "messageId": "={{ $json.bot_message_id }}",
        "text": "=\u2705 *Approved*\n\nPublished to {{ $json.track }} by @{{ $json.approved_by }}",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "update-message-approved",
      "name": "Update Message (Approved)",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        1120,
        460
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "messageId": "={{ $json.bot_message_id }}",
        "text": "=\u274c *Rejected*\n\nPublish rejected by @{{ $json.approved_by }}",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "update-message-rejected",
      "name": "Update Message (Rejected)",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        900,
        600
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Receive Build Notification": {
      "main": [
        [
          {
            "node": "Respond OK",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Respond OK": {
      "main": [
        [
          {
            "node": "Send Telegram Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Callback": {
      "main": [
        [
          {
            "node": "Parse Callback",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Callback": {
      "main": [
        [
          {
            "node": "Is Approve?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Approve?": {
      "main": [
        [
          {
            "node": "Trigger Publish Workflow",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update Message (Rejected)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Publish Workflow": {
      "main": [
        [
          {
            "node": "Update Message (Approved)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    {
      "name": "playstore",
      "id": "1"
    }
  ],
  "triggerCount": 0
}

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

Play Store Publish Approval. Uses telegram, telegramTrigger, httpRequest. Webhook trigger; 9 nodes.

Source: https://github.com/IITA-AKILIMO/akilimo-mobile/blob/be07c7e782647cc2b826b96e62dcef5a107a588a/.n8n/playstore-approval.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

AIPA - BMF Work Logging. Uses telegram, telegramTrigger, supabase, httpRequest. Webhook trigger; 19 nodes.

Telegram, Telegram Trigger, Supabase +1
Slack & Telegram

N8N-Approval-Workflow. Uses telegram, telegramTrigger, httpRequest, dataTable. Webhook trigger; 18 nodes.

Telegram, Telegram Trigger, HTTP Request +1
Slack & Telegram

Play Store Publish Approval. Uses telegram, telegramTrigger, httpRequest. Webhook trigger; 9 nodes.

Telegram, Telegram Trigger, HTTP Request
Slack & Telegram

N8N Complete Final. Uses telegramTrigger, dataTable, telegram, mqtt. Event-driven trigger; 58 nodes.

Telegram Trigger, Data Table, Telegram +3