"SEND EMAIL" BOT

tenho uma tabela com essas colunas:

CONSOLIDADO_EPI

ID / COORDENADOR(A)  / MATRÍCULA / NOME / ITENS / STATUS / DATA IMPLANTADA / DATA ATENDIMENTO / EMAIL / ESTABELECIMENTO 

e outra com essas colunas :

PEDIDOS_EPI

ID /ID_CONSOLIDADO / ITEM / QUANTIDADE / ENTREGUE 

na tabela CONSOLIDADO_EPI tenho uma coluna de referencia chamada RELAÇÃO_PEDIDOS_EPI.

fiz um bot pra enviar um email toda vez que adicionar um pedido novo. O email tem esse layout:

CONSOLIDADO_EPI

ID: <<[ID]>>

COORDENADOR(A): <<[COORDENADOR(A)]>>

MATRÍCULA: <<[MATRÍCULA]>>

NOME: <<[NOME]>>

ITENS: <<[ITENS]>>

STATUS: <<[STATUS]>>

DATA IMPLANTADA: <<[DATA IMPLANTADA]>>

DATA ATENDIMENTO: <<[DATA ATENDIMENTO]>>

EMAIL: <<[EMAIL]>>

ESTABELECIMENTO: <<[ESTABELECIMENTO]>>

PEDIDOS_EPI

ID / ID_CONSOLIDADO / ITEM / QUANTIDADE / ENTREGUE

<<Start: [RELAÇÃO_PEDIDOS_EPI]>><<[ID]>> <<[ID_CONSOLIDADO]>> <<[ITEM]>> <<[QUANTIDADE]>> <<[ENTREGUE]>><<End>>

 

o problema é que o e-mail não está puxando as linhas dessa parte:
 
PEDIDOS_EPI

ID / ID_CONSOLIDADO / ITEM / QUANTIDADE / ENTREGUE

<<Start: [RELAÇÃO_PEDIDOS_EPI]>><<[ID]>> <<[ID_CONSOLIDADO]>> <<[ITEM]>> <<[QUANTIDADE]>> <<[ENTREGUE]>><<End>>

 

Solved Solved
0 1 37
1 ACCEPTED SOLUTION

It sounds that your automation fires before the child records are added. This is a common issue. 

Please refer the section "Send an email only after adding a parent record and all of its child records"

in the article below

Send an email from an automation - AppSheet Help

 

 

View solution in original post

1 REPLY 1

It sounds that your automation fires before the child records are added. This is a common issue. 

Please refer the section "Send an email only after adding a parent record and all of its child records"

in the article below

Send an email from an automation - AppSheet Help

 

 

Top Labels in this Space