def get_node_by_id(node_id, dialogue_node_list):
    """
    Takes a node id and returns the node from the dialogue_node_list
    """
    for dialogue_node in dialogue_node_list:
        if dialogue_node["Id"] == node_id:
            return dialogue_node
    return None