Product Documentation
  • πŸ‘‹Welcome to K3 Labs
  • Getting Started
    • Quick Start Guide
  • Automate
    • How to create a Workflow
    • Design Page: Key Sections
    • Trigger Set Up
      • Scheduled / Manual Trigger
      • Smart Contract-based Trigger
        • Token Smart Contracts Trigger Examples
        • Swap/Staking Smart Contracts Examples
        • NFT Collection Smart Contracts Examples
      • Wallet event-based
    • Functions Overview
      • Details on Read functions datapoints
      • Transform Function Details
        • Transform Custom Formula
      • JSON Data Preview
      • Custom Inputs
    • What are Actions?
  • Deploy
    • Deploy Page
    • Project Creation
  • Integrations
    • Coinbase
    • Slack
    • Telegram
    • Cubist Wallet
    • Safe Wallet
    • Hyperliquid
  • Stellar Blockchain
  • Tech Documentation
    • K3 Framework
      • Abstract
      • K3 Consensus
    • Networks & Usage
    • K3 Wasm
      • K3 Wasm Rust SDK
      • K3 Wasm Internal Specifications
    • Operator onboarding
Powered by GitBook
On this page
  1. Automate
  2. Functions Overview

Custom Inputs

The Custom Input function allows you to define reusable variables at the beginning of your workflow β€” making it easier to build flexible automations and simplify how others use your workflows or templates.

What It Does

Instead of editing multiple steps in a workflow manually, the Custom Input function lets you set values (like wallet addresses, token names, or numbers) in one place and reference them throughout the workflow as variables.

This is especially useful for:

  • Making templates easy to reuse

  • Reducing manual setup

  • Allowing non-technical users to interact with advanced workflows


Example Use Case

Let’s say you’ve built a workflow that monitors the APR of a Uniswap liquidity pool every 24 hours and alerts you when it drops below a certain threshold.

Normally, a user would have to:

  • Go into the The Graph step and update the pool address

  • Check the Transform function and update any APR calculations

  • Update the Alert function text with the pool info

With Custom Input, you can simplify all of that:

  1. Add a Custom Input function to the top of your workflow.

  2. Create a variable:

    • Label: Liquidity Pool Address

    • Value: (e.g., the default Uniswap pool address)

  3. Use {{Liquidity Pool Address}} as a variable in all relevant steps.

  4. When someone reuses this template, they only need to update the address once β€” and the workflow updates everywhere.


Input Types Supported

When creating inputs, you can select from:

  • Text – General strings, tickers, or labels

  • Number – Token amounts, thresholds, or parameters

  • Wallet / Smart Contract Address – Pre-validated field for wallet or smart contract addresses

  • Other variables (i.e. API links, Token Tickers, etc)


Why Use It?

  • Reusable Templates: Make your workflows beginner-friendly

  • Fewer Errors: No need to update the same variable in 5 places

  • Dynamic Flexibility: Easily run the same logic on different tokens, wallets, or protocols

PreviousJSON Data PreviewNextWhat are Actions?

Last updated 23 days ago