I have an interesting workflow and maybe that is what needs to change. Right now I have Shopify front end and am using Zapier to take orders from Shopify and create accounts in Salesforce as well as creating closed opportunities.

I'm trying to use Generate orders to turn the closed opportunities into orders automatically.

Running the Opportunity to Order flow always generates the following: An error occurred at element Create_Order.

UPSERT --- UPSERT FAILED --- ERRORS : (INVALID_FIELD_FOR_INSERT_UPDATE) Order: bad field names on insert/update call: OpportunityId --- for SFDC record with ID : null,

I'm not too familiar with salesforce so I'm not sure where to look to get this fixed.


In your flow, are you setting the field OpportunityID? If yes & since you are using upsert, the id field should not be set and the external id field should be set.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.