How to use custom flow in action framework ??

I want to learn the action framework in that  how custom flow is works,how to use that,what is the flow action type i have to use??