Discussing APIs and development related to customers, discounts, and order management.
We have a Shopify store integrated with Hubspot. We work with 15 different license types. When a new customer is created in Hubspot, we would like Shopify to automatically send them an order draft based upon their license type. License Type is listed in TAG field but we can change if needed. We want Shopify to send one of 15 different order drafts or it could create the draft on the fly based upon the license type. We would also be sending the same draft another 2 times in a workflow. If easier, I could create 15 different drafts for each license or they would be created on the fly. Webhook would need to import customer info and license type (Tag field) into the draft and to send it. We will also be sending that same draft two more times to the new contact. Please let me know if you can do this.
Not a native behavior, even shopify-flow doesn't have a create-draft action; though their is the send-http-request action for very advanced usage.
Generally solved with an automation app or service; like mechanic or mesa, or zapier or make.
The Mechanic app can be scripted for a scenario like this
https://tasks.mechanic.dev/auto-recurring-draft-orders
However what you describe relies heavily on where data actually exists.
Just because something happens in an external platform Hubspot does not mean there's anything to react to in shopify by third party apps/services.
The TAG would have to be a customer.tag on the customer in the shopify customers admin.
So it might be important for the app/service itself to have it's own custom webhooks or integration.
Mesa has an integration with hubspot, mechchanic has webhooks and email ingest
https://docs.getmesa.com/article/1293-hubspot
https://learn.mechanic.dev/platform/webhooks
https://learn.mechanic.dev/techniques/working-with-external-apis
If you need this explored then contact me directly by email for services.
Please always provide context, examples: store url, theme name, post url(s) , or any further detail.
Contact Info in signature.
Good Hunting.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org