I unable to associate an Email Send Activity when creating an automation in Fuel-SDK Python. Below is my props dictionary setup. When posted the Automation is created but there is no Send Email activity in it. Please let me know if you have any ideas.

automation.props = {"CustomerKey":"AUTO TEST", "ScheduledTime":"2019-05-30T09:30:10-05:00", "Name":"AUTO TEST", "AutomationType":"scheduled", "Description":"AUTO TEST", "CategoryID":"19611", "AutomationTasks":{"AutomationTask":{"Name":"040319-test", "AutomationTaskType":"EmailSendDefition", "Activities":{"Activity":{"ObjectID":"7136259f-3f56-e911-a2cc-1402ec93869c", "Name":"040319-test", "ActivityObject":{"CustomerKey":"040319-test", "ObjectID":"7136259f-3f56-e911-a2cc-1402ec93869c"}}}}}}
  • What "Automation" are you referring to? – Brian Miller Apr 21 '19 at 9:42
  • @BrianMiller I am referring to a scheduled automation in the Sales Force Marketing Cloud Automation Studio – Brett Apr 22 '19 at 15:09
  • Thanks - I updated your tags to say marketing-cloud so people have more context when reading the question – Brian Miller Apr 22 '19 at 18:19

Your Answer

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

Browse other questions tagged or ask your own question.