def workflow_marker(marker_name: str):
    """Create a decorator to mark a function for use within a workflow."""

    def _marker(func):
        func.__workflow_marker__ = marker_name
        return func

    return _marker