Online programs doesn’t have an open API yet so this is not possible
The workaround I’ve found is by email automation