In API version 66.0 and later, you can now run SOQL queries containing the WITH USER_MODE clause as the Automated Process User. In API Version 65.0 and earlier, such queries fail unless they are run explicitly in system mode.
Where: The feature is available in Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.