Topic
When trying to add fields to a SOQL Query that contain the word From, Lightning Experience DocGen Designer (LEDD) is unable to differentiate between the From in the field to the FROM in the SOQL Query. This will cause a red error banner to display stating:
"_object__r" is not a valid object

For example:
Select id, name, the_from_account__r.name FROM Opportunity WHERE id = 'record id'
Instructions
This is a LEDD issue that the Nintex DocGen Development Team is currently investigating. The workaround is to create/update the SOQL Query via the Classic experience.