```groovy import static org.camunda.spin.Spin.*; .... def json = JSON("{\"customer\": \"Kermit\"}") def variableMap = ['myJSON':json] def processInstance = runtimeService().startProcessInstanceByKey("myProcess", variableMap) ```