Chainlink automation(previously known as Chainlink keepers) is a solution of smart contract conditional automation.
It is pretty straightforward to understand and use Chainlink automation(keepers). For every consumer contract(the contract which you want to automate), there are 2 functions that have to be implemented - checkUpkeep
and performUpkeep
.
The condition(time-based or custom logic) should be defined in checkUpkeep
, and execution logics defined in performUpkeep
.
With the 2 functions set, Chainlink node(oracle node is off-chain) could check the status by calling function checkUpkeep
, and call performUpkeep
when the pre-defined condition is met. This is the basic workflow and you can also learn more about Chainlink Automation from master class provided by Chainlink labs.