Dynamic Variables & Custom Fields

Socibot v2.0 features a completely overhauled dynamic variable system, allowing you to create complex, data-driven metadata for your videos.

Built-in Variables

These variables are always available and pull data directly from the video or target context:

{file_name} Original filename without extension.
{file_name_clean} Sanitized filename (no underscores or special characters).
{target_name} The name of the channel.
{date} Current date (YYYY-MM-DD).
{hour} Current time (HH
{counter_daily} Resets every day; useful for numbering daily uploads.
{counter_total} A global counter that never resets.

Custom Fields (User-Defined Variables)

You can define your own variables in the Dynamic Variables panel. These can be Manual (static text) or Derived (transformed from other variables).

Transformation Pipelines

Derived variables can apply a sequence of operations to transform their source data. Available operations include:

Split

Divides text by a delimiter (e.g., split by _).

Index

Selects a specific item from a split list.

Strip

Removes leading/trailing whitespace or characters.

Lower/Upper

Changes text case.

Replace

Finds and replaces specific text.

Regex

Extracts data using Regular Expression patterns.

External File Sources

Connect your metadata to external data files for ultimate flexibility:

  • Supported Formats

    CSV, Excel (XLSX), and Plain Text (TXT).

  • Lookup Mode

    Match a filename to a specific row in your CSV or Excel sheet to pull custom descriptions, tags, or IDs.

  • Encoding

    Full support for UTF-8 and other character encodings.

Example 1: Basic Extraction

Source File:vlog_london_01.mp4
Variable:{city}
Pipeline: Split by _ → Index 1 → Uppercase
Result:LONDON

Example 2: Tech Specs (Regex)

Source File:review_iPhone15Pro_4K.mp4
Variable:{model}
Pipeline: Regex review_(.*?)_ → Group 1
Result:iPhone15Pro

Example 3: Batch Personalization (CSV)

Goal: Add custom codes per video from promos.csv.
Setup: Match {file_name} to the 'VideoID' column in CSV.
Variable: {discount_code} → Pull from 'Code' column.
Result:SUMMER2024 (Dynamic)
Socibot Automation - Social Media Video Publishing