Skip to content

AMPScript que encurta links através da API do Shot.oi a ser utilizado no Salesforce Marketing Cloud

License

Notifications You must be signed in to change notification settings

evertonsmoraes/shortio_sfmc_encurtar_link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Short.io API & Salesforce Marketing Cloud - Encurtar Link

AMPScript que encurta links através da API do Shot.oi a ser utilizado no Salesforce Marketing Cloud

Documentação da API https://developers.short.io/reference/post_links

Tecnologias Utilizadas

Short.io AMPScript Salesforce Marketing Cloud API

Macro Fluxo

flowchart 

subgraph AMPScript
  
    userid(@userid)
    campanha(@campanha)
    destinocompleto(@destinocompleto)
    titulo(@titulo)
    destinocompleto --> originalURL
    titulo --> title
    userid --> tags
    campanha --> tags
  subgraph payload ["@payload - Json Parameter"]
      allowDuplicates
      domain
      originalURL
      title
      tags
  end
  headerkey(@headerKey)
  headerval(@headerVal)
  headerkey --> headers
  headerval --> headers
  payload -->body_params
  subgraph api ["Shot.io API"]
    body_params(Body Params)
    headers(Headers)
    body_params --> generate
    headers --> generate
    generate(Generate Link)
    response(Responses)
    generate --> response
  end
  shorturl(@shortURL)
  response --"RegExMatch(@response,shortURL)"--> shorturl
end
shorturl --> Message
subgraph Message["SMS Message"]
  
end

Loading

About

AMPScript que encurta links através da API do Shot.oi a ser utilizado no Salesforce Marketing Cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published