Тёмный

Get JSON Data using SSJS in Salesforce Marketing Cloud 

Datarati - Implementation Guru
Подписаться 4,2 тыс.
Просмотров 9 тыс.
50% 1

Cameron Robert from Datarati develops an automation that retrieves Weather Data to show how to get JSON data from an external source and save it into a Data Extension in Salesforce Marketing Cloud.
What you'll learn:
» How to access JSON data from an external source
» What functions to use in Server Side JavaScript to get JSON data into Salesforce Marketing Cloud
» How to make a FOR LOOP in SSJS to iterate over a JSON Object and Upsert Rows into a Data Extension.
» How to create a Script Activity in Automation Studio
Introduction: (0:00)
SSJS Get Request Overview: (0:52)
How to use the HTTP.GET Request: (1:28)
Using SSJS to parse the Response into a JSON Object: (3:11)
Tip - How to navigate a JSON Object in Chrome Developer Tools: (3:52)
How to reference a JSON Object Address: (4:57)
Creating a Simple FOR LOOP in SSJS: (5:48)
Enhancing the FOR LOOP: (6:55)
Upserting JSON Data into a Data Extension: (7:41)
Creating a Script Activity in Automation Studio: (11:40)
Automating a Script Activity: (12:20)
Summary: (13:58)
Example JSON Weather Data Source:
reg.bom.gov.au/products/IDQ609...
Further reading:
• SSJS HTTP.Get: developer.salesforce.com/docs...
• SSJS Write: developer.salesforce.com/docs...
• SSJS ParseJSON: developer.salesforce.com/docs...
• SSJS UpsertDE: developer.salesforce.com/docs...
• Automation Studio - Script Activity: help.salesforce.com/articleVi...
• Chrome DevTools: developers.google.com/web/too...
Want more information?
Contact us: www.datarati.com.au/contact-us/
Email us: hello@datarati.com.au
#salesforce #marketingcloud #tutorial #datarati

Опубликовано:

 

20 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@LeonVisnaw
@LeonVisnaw 9 месяцев назад
Thank you. Being a visual learner this was spot on and very informative. The presentation was clear and understandable.
@knudback
@knudback 3 года назад
Thank you for a comprehensive yet simple and straightforward explanation.
@user-tg4yn6de6x
@user-tg4yn6de6x 11 месяцев назад
Really well done - brief but hitting all the key points. Very helpful
@gailparsloe7934
@gailparsloe7934 3 года назад
Wow! Totally awesome tutorial. Excellent content. Excellent presentation.
@bannamebrathu1504
@bannamebrathu1504 5 месяцев назад
What an awesome video Cameron, so easy to follow and understand! How can we connect the same way but to a private api, where in the script would we be inserting the apikey, username and password? Thank you!
@ebollon
@ebollon 2 года назад
Thank you very much!!
@Rahulkumar-ls1xo
@Rahulkumar-ls1xo 3 года назад
awesome Explaination
@ImplementationGuru
@ImplementationGuru 3 года назад
Glad you liked it, thanks for commenting
@makarandgajare1537
@makarandgajare1537 3 года назад
I love your videos cameron
@ImplementationGuru
@ImplementationGuru 3 года назад
Thanks Makarand :) I'm glad these videos are helping!
@siddharthaguha5383
@siddharthaguha5383 3 года назад
For me UpsertDE or UpsertData were not working. Had to use DE.Rows.Add. Thanks!
@musafirii
@musafirii 2 года назад
Thanks a lot, that's an awesome tutorial.. I am trying to load the data into DE which is coming as json response from another cloud page. So in HTTP cloud response I have used the cloud page URL. But i am not getting any Data in my DE. Any thoughts. What I am missing?
@danielross8976
@danielross8976 2 года назад
how would i use basicAuth with this?
@TechloverSam
@TechloverSam 2 года назад
How can I upsert data more than 2000 rows?
@thetechconsultant
@thetechconsultant Год назад
You can’t.
Далее
How to Delete Contacts in Salesforce Marketing Cloud
21:01
СДЕЛАЛА БРЕКЕТЫ ДОМА
01:01
Просмотров 920 тыс.
SFMC IF and IIF Statements in AMPscript
11:33
Просмотров 4,1 тыс.
Sender Authentication Packages in Marketing Cloud
45:26
How Alias Tags work in Salesforce Marketing Cloud
8:39
Learn JSON in 10 Minutes
12:00
Просмотров 3,1 млн