Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Importing file from External Account script

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @ABr86 ,

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

Marcel_Szimonisz_0-1649930027189.png

 

  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-activ...

 

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/

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello @ABr86 ,

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

Marcel_Szimonisz_0-1649930027189.png

 

  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-activ...

 

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/