diff --git a/internal/common/payload.go b/internal/common/payload.go index b813c8e..fc338b3 100644 --- a/internal/common/payload.go +++ b/internal/common/payload.go @@ -8,6 +8,7 @@ type WrappedPayload struct { Payload any Modules any Sender any + Source string End bool } @@ -25,5 +26,10 @@ func GetWrappedPayload(ctx context.Context, payload any) WrappedPayload { if sender != nil { templateData.Sender = sender } + + source := ctx.Value(SourceContextKey) + if source != nil { + templateData.Source = source.(string) + } return templateData }