{"id":2154,"date":"2025-12-31T11:52:34","date_gmt":"2025-12-31T12:52:34","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=2154"},"modified":"2025-12-31T17:41:38","modified_gmt":"2025-12-31T17:41:38","slug":"auto-creating-subscriptions","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/12\/31\/auto-creating-subscriptions\/","title":{"rendered":"Auto creating Subscriptions"},"content":{"rendered":"

Hello!\u00a0<\/P>

\u00a0<\/P>

I want to automatically, through a workflow, create a Subscription and associate it to the Company, the Contact with the association lable = Billing Contact, and the recently closed Deal. The trigger should be upon closing the deal and moving it to Closed Won.\u00a0<\/P>

\u00a0<\/P>

Also, I have a property in the Deal record called: Active Users, which basically is the number of active users on the client’s account, pulled from our backend system. Can I have this number of active users as the Line Item in the Subscription and the Invoices?<\/P>

\u00a0<\/P>

Finally, I want to have the generated Invoices from this Subscription to, alos, be automatically associated with the same records the Subscription is associated with.\u00a0<\/P>

\u00a0<\/P>

Is it too much?\u00a0\ud83d\ude05<\/span><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

Hello!\u00a0\u00a0I want to automatically, through a workflow, create a Subscription and associate it to the Company, the Contact with the association lable = Billing Contact, and the recently closed Deal. The trigger should be upon closing the deal and moving it to Closed Won.\u00a0\u00a0Also, I have a property in the Deal record called: Active Users, […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/2154"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=2154"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/2154\/revisions"}],"predecessor-version":[{"id":2155,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/2154\/revisions\/2155"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=2154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=2154"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=2154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}