1. To create a workflow for a document library or list, navigate to the relevant library or list and select Workflow Settings under Permissions and Management.
2. Add a workflow template and name it. Select task and history lists, then specify start options like triggering events.
3. Configure workflow tasks, approvers, and notifications. Test the workflow by starting it on a document and approving or rejecting tasks via email.