Dynamic Sender Profiles with AMPscript
https://gist.github.com/nmaratasdev
Hi Marcos, thank you for your comment. So for this tutorial, you’ll want to create a test sendable data extension that has a text field called XML. We then stuff the payload inside the [XML] field which is included in the sendable data extension. The string that says “SET @XML = [XML]” takes the payload from that field and assigns it to a variable called @XML. The AMPscript logic then parses through that data. I hope this feedback helps, good luck!
]]>Looping through XML with AMPscript (Advanced Level)
https://gist.github.com/nmaratasdev/8406c3797864b6b80aa8f9f1f5e36b95
AMPscript Empty Function
https://gist.github.com/nmaratasdev/a5afb00eb28ca35934a265abd9e9716c
AMPscript Trim Function
https://gist.github.com/nmaratasdev/d9f8adbf4d757b64774aef4f6e7ffa56
AMPscript ProperCase Function
https://gist.github.com/nmaratasdev/a755839cdda0b334b220f92537fbbeff
AMPscript UpperCase Function
https://gist.github.com/nmaratasdev/8017ac7b39d1130a110825c925a870f0
AMPscript LowerCase Function
https://gist.github.com/nmaratasdev/3cce3012db417d050bc8ab1c34bb73eb
AMPscript Substring Function
https://gist.github.com/nmaratasdev/3d0d994a0b549a31291c78a43a68741f
AMPscript Replace Function
https://gist.github.com/nmaratasdev/166c2646d1c79851ce75d60f3aa7e0b3
AMPscript Length Function
https://gist.github.com/nmaratasdev/43d7cb952b740dba057cf045c7db62ef
AMPscript IndexOf Function
https://gist.github.com/nmaratasdev/f789f187dedd5eb64fbf0bafeb6797bc
AMPscript Concat Function
https://gist.github.com/nmaratasdev/ec499bcd601db21b4af331e102fc2118
AMPscript Variables
https://gist.github.com/nmaratasdev/9f3764d760849609d823c074151847de
AMPscript Attributes
https://gist.github.com/nmaratasdev/4d43befd305056bca5a6b4641f42110d
AMPscript Constants (Strings)
https://gist.github.com/nmaratasdev/58ee204225ec99d14b4ba3bcd32b4efb
AMPscript Constants (Numbers)
https://gist.github.com/nmaratasdev/9bd2b8b422019a65ba400216177eb1ca
AMPscript Constants (Null)
https://gist.github.com/nmaratasdev/816fe9ba4f3c16ac2fd7e244632666ed
AMPscript Constants (Boolean)
https://gist.github.com/nmaratasdev/59d4cac16927b980052333ab81082f21
AMPscript Commenting
https://gist.github.com/nmaratasdev/dae3553f798ee22bceec3365670ed630
AMPscript Inline Delimiters
https://gist.github.com/nmaratasdev/a4b2cf844d873d97ccfdc26b2d3981bf
AMPscript Block Delimiters
https://gist.github.com/nmaratasdev/9f23deae5cc7d72bc5d1002112567ae7
AMPscript Add Function
https://gist.github.com/nmaratasdev/594f7d9d0e4c0bae6f279baaaae2cade
AMPscript Subtract Function
https://gist.github.com/nmaratasdev/06748b1bf9f20da79bc35df386b86277
AMPscript Multiply Function
https://gist.github.com/nmaratasdev/f28a32fdc9c2f8aba8ab5fe701d3fed2
AMPscript Divide Function
https://gist.github.com/nmaratasdev/eead756b805739dd7e8c48542da339ef
AMPscript Mod Function
https://gist.github.com/nmaratasdev/973bf87cd432dfd90ef003d6a7a8b99a
AMPscript Now Code (Campaign Email)
https://gist.github.com/nmaratasdev/67e4b8edb8f22353edfed69fab384c5b
AMPscript Now Code (Triggered Send Email)
https://gist.github.com/nmaratasdev/c5c5ae33e3ac3f0ad32c4ccd6e5a9f54
AMPscript Date Add Code
https://gist.github.com/nmaratasdev/3e4d8b09f74ee2c6ca8ffb017b5afa5d
AMPscript Date Diff Code
https://gist.github.com/nmaratasdev/5f01b4884b7feabdf6d17c6f2cc5bc76
AMPscript Date Parse Code
https://gist.github.com/nmaratasdev/cfffd9828d0df5397df438cac54cee0f
AMPscript Date Part Code
https://gist.github.com/nmaratasdev/a5f10cffcff619f4f9f8ef722adc30aa