mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Merge pull request #39 from ArnasDon/fix/automations-welcome-template-uses-first-inbound
fix(automations): Welcome Message template uses first_inbound_message
This commit is contained in:
commit
98751b8fe6
@ -33,7 +33,12 @@ export const AUTOMATION_TEMPLATES: Record<TemplateSlug, AutomationTemplateDefini
|
|||||||
slug: 'welcome_message',
|
slug: 'welcome_message',
|
||||||
name: 'Welcome Message',
|
name: 'Welcome Message',
|
||||||
description: 'Auto-reply to first-time contacts with a greeting.',
|
description: 'Auto-reply to first-time contacts with a greeting.',
|
||||||
trigger_type: 'new_contact_created',
|
// first_inbound_message (added in PR #33) catches both brand-new
|
||||||
|
// contacts AND manually-added/imported contacts on their first-ever
|
||||||
|
// reply, which is what a user setting up a "welcome" automation
|
||||||
|
// almost always wants. new_contact_created would miss the
|
||||||
|
// manually-imported case.
|
||||||
|
trigger_type: 'first_inbound_message',
|
||||||
trigger_config: {},
|
trigger_config: {},
|
||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user