def create_qualification(conn, name: str, keywords: str, description: str, auto_granted: bool = True,
                         auto_granted_value: int = 100) -> str:
    """
    Creates a new qualification for a task.

    @returns the qualification type id.
    """
    response = conn.create_qualification_type(
        Name=name,
        Keywords=keywords,
        Description=description,
        QualificationTypeStatus='Active',
        AutoGranted=auto_granted,
        AutoGrantedValue=auto_granted_value,
    )

    return response['QualificationType']['QualificationTypeId']