Geometry node modification in python

Hi, I am importing a point cloud and trying to use the Geometry Node according to this example: https://www.youtube.com/watch?v=kwpj7ZUtnac
but i need to do this in Python script- this is as far as i can go, but i am obviously doing something wrong with the node editing commands. i appreciate the help!

Note: ‘Data1vof’ corresponds to the imported point cloud

bpy.context.view_layer.objects.active=bpy.data.objects[Data1vof]
obj = bpy.context.active_object
gnmod = obj.modifiers.new("Geometry Nodes", "NODES")
mesh_node = gnmod.node_tree.nodes.new('GeometryNodeMeshToPoints')
bpy.data.node_groups["Geometry Nodes"].nodes["Set Material"].inputs[2].default_value = bpy.data.materials["cirrus"]
bpy.data.node_groups["Geometry Nodes"].nodes["Mesh to Points"].inputs[3].default_value = 0.5