Preciso que nessa parte do codigo da automacao capture as 2 variaveis, telefone e rastreio.
when a card with a description containing "Telefone: {* },rastreio: {* }" is added to list "DESPACHADO" by anyone, post to url "https://webhook.pluglead.com/webhook/09303a5e704f9be8730e8bf718a50baa" with payload "{\"nome_quadro\":\"{boardname}\",\"link_quadro\":\"{boardlink}\",\"phone\":\"{wildcard1}\",\"rastreio\":\"{wildcard2}\",\"nome_cartao\":\"{cardname}\",\"descricao_cartao\":\"{carddescription}\",\"link_cartao\":\"{cardlink}\",\"lista_cartao\":\"{cardlistname}\",\"etiquetas_cartao\":\"{cardlabelnames}\",\"membros_cartao\":\"{cardmemberfullnames}\",\"data_inicio_cartao\":\"{cardstartdate}\",\"data_fim_cartao\":\"{cardduedate}\",\"CheckList\":\"{cardcheckliststate}\"}"
Hey there! Nice work, I think you're on the right track here. The {* } wildcard stops matching when it encounters a blank space or the end of the text, so I think you might be able to fix this by adding a space in the trigger after the telephone number.
For example:
when a card with a description containing "Telefone: {* } , rastreio: {* }" is added to list "DESPACHADO" by anyone
It would then expect input something like:
Telefone: 1231231234 , rastreio: blahblah
Could you give that a try and see if it's a bit closer to what you expect?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.