Building Input Driven Blocks

How to create custom blocks by getting inputs from user

This guide walks you through creating a Custom Block that collects user input (such as text, selections,) and utilizes the Superfans SDK to process that data or trigger native app actions.

Steps to create input driven blocks

Access the Builder

  • Navigate to the Custom Blocks section of the dashboard from the Settings menu on the sidebar.
  • Click on Create new Custom Block

Choose create via HTML.

Choose Block Type

  • Provide the following:
    • Block name
    • Block type
    • Block placement
  • Click on Create Block.

Your block is now created. You can customize it however you want and add it to the respective page.

Start Coding the block

To create inputs at the block level, click on Edit block details on the top right