feat(automations): endpoint to duplicate (#1071)