JavaScript Activity to Invoke Another Automation in Marketing Cloud
There are going to be situations where you may want to invoke another automation from one automation. Or you may want to run a series of automations one after another without worrying about setting up a schedule. You can use the below mentioned JS code in a script activity in an Automation in Marketing Cloud to invoke another automation. Simply copy / paste this code in a script activity and just make one small change - add the customer key of automation which you want to run/invoke from the current automation. When you run this script activity, it will initiate the other automation to run. You can use this activity as last activity in two automations that will invoke each other and can run in an infinite look until you manually pause them. This could be useful in a case where you may want to run an automation earlier than allowed interval of 1 hour. The earliest an automation can run is every 1 hour. You can use this method to trigger an automation earlier than this time a...