Blockspring Scripts makes it easy to build add-ons for your favorite apps.
Using the onsite Python scripts editor, you can build:
- Buttons that trigger automations,
- UI components like sidebars,
- Workflows / "if x then y" pipelines,
- Integrations and import/export data syncing,
- Custom reports, and
Let's go through a few tutorials to give you a feel for how to build add-ons using scripts.
Follow these installation instructions to install Blockspring Scripts for Chrome.
Once you have the editor open, you can write your first script. Each script is made up of Python 3 functions. You can print() data, and also return it.
Let's write the following from the editor:
import trello_app def board_name(): board = trello_app.get_current_board() print(board.get_name())
To see this script run, do the following:
1) Click Save Script or Command + S.
2) Choose board_name in the function dropdown.
3) Click Run to run the function.
4) Check out the results in the logs below. Not too bad!
I'm Ready to Rock... Show Me Examples
A quick way to learn some advanced features is with templates. Learn how to import templates here.
This first tutorial teaches how run scripts using App Buttons.
The second tutorial shows how to add UI elements, like a sidebar, to apps.
Follow this tutorial to learn how to set up workflows. We'll learn to use event triggers and get/set data from objects (eg like cards and boards)
This tutorial teaches you to integrate with a 3rd party app using connectors. You'll see how Scripts handles OAuth for you with a practical example of syncing Trello and Google Sheets.
This tutorial shows how to generate a custom report, and import Python modules for more advanced functionality.
This last tutorial shows how to send alerts when events happen in your app.
If you run into any issues, or what to chat with others, connect to the Blockspring community right from the Scripts editor.