This article provides the steps to create a trigger for AP bootstrapping.
Navigate to the System-->Triggers page and click on Add new trigger.
Select type as "Device Event"
For the trigger condition select "Event Contains" -->Condition "matches" --> Reboot or bootstrap.
Select the group and folder to whUser-added imageich the trigger is to be applied.