Do you have a mock up already of the thing, that you want to automate? If so post images and detailed description of how the mechanism works and we may be able to suggest ways on how to make that mechanism an electrically powered one. To actually automate it, you must also have some kind of trigger of course - any ideas on what that trigger should possibly be?