Builder: Adding a system to a collection

Trying to use any of the ConfigMgr Server add to collection actions gives me an error “object reference not set to an instance of an object”. I have added the collection ID to the builder action as a constant so not sure what else is needed.

I got the add device resource ID to collection working so I’m all good thanks.