Digiflazz PPOB Management Telegram Bot - n8n Workflow

Automate PPOB operations using this n8n workflow. Integrate Telegram with the Digiflazz API to check balance, list products, and manage prepaid/postpaid transactions via a custom n8n bot.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

PPOB (Payment Point Online Bank) business owners seeking operational automation.
Technical users needing advanced n8n templates for integrating APIs requiring custom signature generation.
n8n developers building interactive chatbots and custom interfaces using the Telegram n8n node.
Anyone who needs direct, automated access to Digiflazz API functions like balance checks and product listings.

Overview

Managing prepaid and postpaid transactions (PPOB) efficiently is crucial for service providers. This comprehensive n8n workflow solves operational delays by providing a seamless interface through Telegram, directly connected to the Digiflazz API. The primary technical challengeโ€”generating secure MD5 signatures required by Digiflazzโ€”is handled automatically using specialized Code n8n node steps. This robust automation allows users to initiate topup commands, view up-to-date product price lists, check deposit balances with visual status indicators, and set up bill inquiries, all via chat. Deploying this n8n workflow allows for rapid deployment of sophisticated business management features without manual intervention.

How it Works

The entire process begins when a user interacts with the bot, triggering the Telegram Trigger n8n node.


  1. Initial Routing: The Main Command Router Switch n8n node determines the user's intent based on the incoming message text (e.g., /start, /menu) or callback data (from inline buttons).

  2. Balance Check: If the user selects 'Check Balance', a Code n8n node (Generate Balance Signature) generates a unique MD5 signature using environment variables (username and API key) and the command depo. This signed request is passed to the Check Balance API HTTP Request n8n node.

  3. Response Formatting: The Format Balance Response Code n8n node processes the API output. It calculates the deposit amount, applies conditional formatting (red, yellow, or green status based on balance thresholds), and compiles a detailed status message.

  4. Product Listing: If listproducts is chosen, a similar process occurs, generating a signature with the pricelist command. The Format Product List Code n8n node groups the extensive product list by category and dynamically creates inline keyboard buttons for user navigation.

  5. Transaction Setup: For actions like Topup or Bill Check/Pay, the n8n workflow routes to specialized Code n8n nodes that extract the desired service type (e.g., topuppulsa). These nodes prepare the Telegram response, prompting the user for the necessary customer ID or phone number, setting up the context for the next stage of the transaction flow.

Installation Guide

To deploy this specialized n8n workflow, follow the standard n8n templates installation process:


  1. Set Environment Variables: This n8n workflow relies on secrets stored in environment variables. You must set the following in your n8n instance settings:

DIGIFLAZZUSERNAME
DIGIFLAZZ
API_KEY

  1. Import the JSON: Import the provided n8n workflow JSON into your n8n instance.

  2. Configure Telegram Credentials: In the initial Telegram Trigger n8n node, ensure you select or set up valid Telegram API credentials (your Bot Token).

  3. Activate Workflow: Once credentials are set for the trigger and all subsequent Telegram n8n node steps, activate the n8n workflow. The trigger will establish the webhook connection.

  4. Initial Test: Send the command /start to your Telegram bot to verify connectivity and begin using the menu.

Node Details

Telegram Trigger (n8n trigger): The starting point, listening for user interactions. It ensures the n8n workflow captures both text commands and inline button callbacks (callbackquery).
Main Command Router (Switch n8n node): A core flow control n8n node that routes processing based on the first word of a message or the data contained in a button click, ensuring the right branch is executed for /start, check
balance, or topup commands.
Generate Balance/Product Signature (Code n8n node): Essential custom code steps that use the Node.js crypto module to generate the secure MD5 hash signature, as required for authenticating requests to the Digiflazz API. It utilizes the environment variables for secure access.
Check Balance API / Get Products API (HTTP Request n8n node): These nodes perform the actual API calls to Digiflazz, sending the signed payload generated by the preceding Code n8n node.
Format Balance Response (Code n8n node): Parses the API response, converting numerical balances into localized currency strings and applying conditional logic to display a 'traffic light' status (green, yellow, or red) based on the current deposit level, enhancing the user experience of the n8n workflow.
Process Topup/Check Bill Selection (Code n8n node): These nodes manage the interactive dialogue state, extracting the specific product type (e.g., pulsa, pln) from the callback data and generating the next appropriate input prompt message for the user.

Related n8n Workflows

Free

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by

Helping business owners & marketers automate their processes with n8n. Specialist in custom workflows, API integrations, and template development. ๐Ÿ“ˆ 100+ successful automation projects ๐Ÿ”ง Premium n8n templates available ๐Ÿ’ก Free consultation for custom automation Book a consultation for your business digital transformation!"

Featured*