Skip to content
Cumpleaños en Slack - Mensajes Automáticos
Share
Explore

Próximos cumpleaños

Utilicé un filtro para toda la tabla que indica (los próximos 30 días)
30days.birthdays
1
Nombre
Next Birthday
ProfilePic
hoy?
Mensaje
Fondo
tarjeta
Slack - Message
No results from filter
Fórmula para obtener el “next birthday”
Date(Year(Today()) + If(Date(Today().Year(), thisRow.Birthday.Month(),thisRow.Birthday.Day()) < Today(), 1, 0), Month(thisRow.Birthday), Day(thisRow.Birthday))
Fórmula para obtener el “hoy?”
thisRow.[Next Birthday]= Today()
Fórmula para obtener la tarjeta
En rojo están señalados los controles del pack Edit Images.
En negro los nombres de las columnas mencionadas
Para mencionar un solo elemento, como el nombre del color, se utiliza “@” antes del nombre.
Composition( 400, 400,Fondo, Layer(ProfilePic,"Center","Top",padding: 130,width: 150,height: 150), Layer(MakeTextBlock(Concatenate(Nombre, LineBreak(),Next Birthday),width: 400,height: 100,font:"monospace", fontsize: 22, color: @snow.[Color Hex Value] ,horizontalPosition:"Center",verticalPosition:"Middle") ))
Fórmula para el botón de Slack
Slack::PostMessage([User's private Slack account], concatenate("<@",thisRow.[Id 2],">"," ", thisRow.Mensaje, LineBreak(), hyperlink(thisRow.tarjeta,"¡Felicidades!")), "kaudal-random")
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.