ruLog in to Senler

Advanced setup

Advanced setup is intended for promotions where the ready-made “5 invited users” rule is not enough. A Senler.io automation can use a custom threshold, several reward levels, additional conditions, and automatic delivery of a discount, coupon, gift, or gated content. RefLink provides links and accurate referral counts, while the flow defines the business logic.

Creating a campaign

When creating an Advanced campaign on the RefLink main page, you can enable Create automation. The application creates and publishes a standard flow with an rfc_<label> prefix trigger, a menu, three buttons, RefLink steps, conditions, and messages.

You may freely edit the created flow. RefLink stores only its ID and does not overwrite your changes. The linked flow is managed in the Automation block. If the automation is deleted, edit the campaign and select Create new.

When a campaign is created directly from RefLink step settings, no separate automation is created.

The standard automation already contains a three-button menu, RefLink steps, an invited-user count condition, and response messages. The screenshot highlights:

  1. A RefLink step in the standard automation — at this point the flow receives the personal link and current referral count. The large purple icon identifies the application; the small corner icon identifies the specific step action.

Standard RefLink automation

Adding a step manually

To add RefLink to your own flow manually:

  1. Select Add step to open the node catalog.
  2. Choose Get link and data — RefLink. This step creates a link for the current user and returns their referral statistics.

Adding the RefLink step from the automation catalog

The screenshot shows the step's right-hand panel. Complete it as follows:

  1. Campaign — select the promotion for which the step should create a link and retrieve statistics.
  2. Create a campaign — use this when no suitable Advanced campaign exists. It is created without a separate automation because you are already editing the current flow.
  3. Run variables — keep the suggested names or rename them if the flow already contains variables with the same names.

Then save the step settings with the Senler.io button. A Simple campaign cannot be selected because the application itself handles its menu and buttons; an Advanced campaign defines that logic with automation nodes.

RefLink step and run-variable settings

Run variables

The Get link and data step returns:

  • referral_url — a personal link for the current channel;
  • referral_count — the number of invited users;
  • referrals_list — a formatted list of up to 100 invited users; if there are more, the remaining count is shown at the end;
  • inviter_lead_id — the inviter's ID or an empty string;
  • channel_urls — a JSON string containing links for channels on the same platform.

You can rename these run variables in the step settings. In subsequent nodes of the current run, reference them as {{run.<variable_name>}}, for example {{run.referral_url}}.

For a custom flow, configure an incoming-message trigger in start-payload prefix mode with the value rfc_<label>. This allows one flow to accept both the subscription link and personal links from that campaign.

The screenshot highlights:

  1. Start command begins with prefix — this mode accepts both a campaign entry link and users' personal links.
  2. Campaign prefix — enter rfc_<label>, for example rfc_friends, without a user ID at the end.

Configuring the referral-link prefix in the trigger

Before publishing, verify that the RefLink step is connected to a message or condition that uses its results, then publish and activate the automation.