5

I can create a file drop triggered automation through both SOAP and REST API's but I cannot figure out how to switch them from "Inactive" to "Active". Any help would be be greatly appreciate, thanks!

2
  • Bounty is about to expire! Anyone have anything? Commented Aug 1, 2019 at 14:10
  • 1
    @Gortonington thanks for trying!
    – Brett
    Commented Aug 4, 2019 at 0:19

1 Answer 1

0

I have the same problem with a different type of automation (asked here), so I feel your pain. This probably won't help you, but just in case: For the specific case of a file drop, if your application is dropping the file, it's possible to create an import definition and perform it in a single SOAP call after the file has been placed in the FTP folder.

Here is an example of a payload we use for this purpose:

                 <Body>
                  <PerformRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
                     <Action>start</Action>
                     <Definitions>
                        <Definition xsi:type="ImportDefinition" xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI">
                           <Name>[IMPORT-NAME]</Name>
                           <Description></Description>
                           <AllowErrors>true</AllowErrors>
                           <SubscriberImportType>Email</SubscriberImportType>
                           <UpdateType>Overwrite</UpdateType>
                           <MaxFileAge>1</MaxFileAge>
                           <MaxFileAgeScheduleOffset>0</MaxFileAgeScheduleOffset>
                           <MaxImportFrequency>0</MaxImportFrequency>
                           <DestinationObject xsi:type="ns1:DataExtension">
                                <CustomerKey>[DE-EXTERNAL-KEY]</CustomerKey>
                                <ObjectID xsi:nil="true"/>
                           </DestinationObject>
                           <FieldMappingType>InferFromColumnHeadings</FieldMappingType>
                           <FileSpec>[FILENAME-INCLUDING-EXTENSION]</FileSpec>
                           <FileType>CSV</FileType>
                           <Notification>
                                <ResponseType>email</ResponseType>
                                <ResponseAddress>[EMAIL-ADDRESS-TO-SEND-NOTIFICATION]</ResponseAddress>
                           </Notification>
                           <RetrieveFileTransferLocation>
                                <CustomerKey>ExactTarget Enhanced FTP</CustomerKey>
                           </RetrieveFileTransferLocation>
                        </Definition>
                     </Definitions>
                  </PerformRequestMsg>
              </Body>

Good luck.

1
  • Unfortunately the file will not be dropped by my application so I do not believe I will be able to use this :/
    – Brett
    Commented Nov 29, 2019 at 22:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .