When you start dynamo from Revit, it connect automatically to the active project.
You have to run the code. This can be done by selecting "Run Automatically" and then click on the "Run" button.
The object in the Family Types node is the object/family that will be placed at the COG
This code expects that you select an object (Model Element). In your case press on the Select button (Select Model Element node)

Because my code was already running it shows for me "Change" (might also differ between different versions of Dynamo)
After pressing "Select" navigate to your Revit project and select the object you wish to determine the COG.
If everyhting is correct a family instance of the family mentioned in the "Family Types" node will be placed at the COG of the selected object.
If you want to explore this further take time to go through the documents/tutorials on the Dynamo website.
A good starrting point is the Primer on the Dynamo website HERE.
It is a real powerful tool.
Louis

Please mention Revit version, especially when uploading Revit files.