Submitted by [deleted] t3_zk92hu in Futurology
There's currently a lot of hype around chatgpt, many people have stated
that it could be used as an alternative to google, that it could write code for you and potentially replace developers entirely, and plenty more. So tonight decided to give it a real test run, with a real live scenario.
I've worked as a dev on core salesforce for 8 years and I have sporadically done Marketing Cloud development during that time. I'm however no Marketing Cloud expert dev, I still have plenty to learn about that particular cloud.
Tonight I needed to write some code (server side javascript SSJS) that would update the name of a data extension and had never done that particular task before, so asked #chatgpt how to do that and it spit out some code that looked reasonable to me based on what I had built in the past. I immediately thought, "Awesome! This was way faster than google and reading through docs, I'll be done super quick!". Boy I couldn't have been more wrong lol.
I updated the code #chatgpt gave me so that it would work for my particular scenario and ran it and it turns out the code #chatgpt gave me was completely wrong. It sent me on a wild goose chase for a couple hours because I assumed that somehow the small code modifications I made were the problem (even though barely altered anything).
So I eventually abandoned the code #chatgpt gave me and went back to what I typically do. In 30 minutes had figured out how to use wsproxy to update my data extension's name and -30 minutes later I had implemented the code and it worked just fine.
Technical-Berry8471 t1_izz01td wrote
It's early days. Its data set is limited, an interesting experiment though.