Complex potential equations II. An application to general relativity