Importing file from External Account script | Community
Skip to main content
Level 2
April 13, 2022
Solved

Importing file from External Account script

  • April 13, 2022
  • 1 reply
  • 1086 views

Hi everyone,

could someone provide me a SQL/Javascript code workflow activity to import a file from an External Account already configured on ACC?

 

Thanks

 

Best regards

 

Anna

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Marcel_Szimonisz

Hello @abr86 ,

for this there is a activity called file transfer that let you chose external account to pull files from

 

  1. First file transfer is just checking if the file is available in the source folder of external account, this activity also has scheduler and different settings what to do after you pick up the file etc.
  2. Test - Check if the file is one you want, in case you have multiple files loaded to the same folder
  3. File transfer - set to download the file
  4. Data loading -  to load file into adobe campaign
  5. Do something

 

documentation here https://experienceleague.adobe.com/docs/campaign-classic/using/automating-with-workflows/event-activities/file-transfer.html?lang=en#properties

 

OR if you want JavaScript you might need to look at https://experienceleague.adobe.com/developer/campaign-api/api/c-HttpClientRequest.html?hl=http

 

Also you will need to whitelist the domain in the configuration you want to send http requests to.

 

Marcel Szimonisz

MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/

1 reply

Marcel_Szimonisz
Community Advisor
Marcel_SzimoniszCommunity AdvisorAccepted solution
Community Advisor
April 14, 2022

Hello @abr86 ,

for this there is a activity called file transfer that let you chose external account to pull files from

 

  1. First file transfer is just checking if the file is available in the source folder of external account, this activity also has scheduler and different settings what to do after you pick up the file etc.
  2. Test - Check if the file is one you want, in case you have multiple files loaded to the same folder
  3. File transfer - set to download the file
  4. Data loading -  to load file into adobe campaign
  5. Do something

 

documentation here https://experienceleague.adobe.com/docs/campaign-classic/using/automating-with-workflows/event-activities/file-transfer.html?lang=en#properties

 

OR if you want JavaScript you might need to look at https://experienceleague.adobe.com/developer/campaign-api/api/c-HttpClientRequest.html?hl=http

 

Also you will need to whitelist the domain in the configuration you want to send http requests to.

 

Marcel Szimonisz

MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/