These are instructions for how to builds a new automation from scratching using Finic. See Finic Recorder for how to automatically generate an automation with the Finic chrome extension.Documentation Index
Fetch the complete documentation index at: https://docs.finic.io/llms.txt
Use this file to discover all available pages before exploring further.
Initializing a new project
Install Finic globally withpip install finic or pipx install finic.
Then run the following command to create a new Finic automation in the current directory.
main.py.
Providing inputs
Most automations will require input varibles to be provided at runtime. This can include auth secrets like usernames and passwords, variables that define the automation’s behavior, or values that should be input into form fields.Local
You can include input values in a file calledfinic_input.json in the root directory of your project. This automaticaly gets picked up by Finic and passed into your main function.
Production
In production, you can specify inputs for a task when running it manually from the Finic dashboard, or by specifying it in atask_input parameter in the request body when
triggering a task from the API.
Defining selectors
Selectors should be placed inselectors.yaml (see the example below). Both XPath and CSS selectors are supported.
They can then be accessed directly from the Finic client, assuming the selector_source is set to file.