Skip to main content

SmartForm Sequence Trigger

Run a workflow when a SmartForm Sequence is completed. This trigger allows you to automate actions after users finish a series of forms.


When to Use

  • Process multi-step form submissions
  • Generate reports from multiple forms
  • Trigger approval workflows after all data is collected
  • Send completion notifications
  • Update external systems with consolidated data

Configuration

FieldDescription
SequenceWhich sequence triggers this flow
Execute AfterWhen the trigger fires (each form / sequence completion / both)
Enable as AI ToolMake this sequence available in the AI chatbot

Execution Options

After Each Form

The workflow runs every time a form within the sequence is completed.

Use cases:

  • Real-time data synchronization
  • Progress notifications
  • Intermediate validations
  • Updating records as data comes in

After Sequence Completion

The workflow runs only when all forms in the sequence are completed.

Use cases:

  • Final report generation
  • Approval workflow initiation
  • Completion certificates
  • Summary notifications

Both

Enable both options to run workflows at each step AND at the end.

Use cases:

  • Real-time sync + final summary
  • Progress tracking + completion notification
  • Incremental processing + consolidated report

🤖 Enable as AI Tool

When toggled ON, the sequence becomes available to your AI chatbot as a default tool.

What This Means

  • Users can start the sequence directly in chat
  • AI guides users through each form conversationally
  • No need to open separate forms or links
  • Seamless experience on any channel (web, WhatsApp, Messenger, etc.)

How It Works

  1. User asks about something related to the sequence (e.g., "I want to apply")
  2. AI recognizes the intent and offers to start the sequence
  3. AI asks questions from each form in the sequence
  4. Responses are collected and saved
  5. SmartFlow triggers based on your configuration

Example

User: I'd like to start the certification process

AI: I'll help you with that! The certification requires completing
3 forms. Let's start with your professional information.

What's your current job title?

User: Senior Developer

AI: Great! How many years of experience do you have?
...

[After all forms complete]

AI: You've completed all the certification forms. Your application
has been submitted and you'll receive a confirmation email shortly.

Available Variables

When the trigger fires, these variables are available in your workflow:

Sequence Information

VariableTypeDescription
sequence.idStringUnique identifier
sequence.nameStringSequence name
sequence.completedAtDateTimeWhen the sequence was completed
sequence.completedByObjectUser who completed it

Form Data

VariableTypeDescription
sequence.formsArrayAll forms in the sequence
sequence.forms[].idStringForm ID
sequence.forms[].nameStringForm name
sequence.forms[].responsesObjectForm responses
sequence.forms[].completedAtDateTimeWhen form was completed
sequence.forms[].completedByObjectWho completed this form

Current Form (When "After Each Form" is enabled)

VariableTypeDescription
currentForm.idStringCurrent form ID
currentForm.nameStringCurrent form name
currentForm.responsesObjectCurrent form responses
currentForm.indexNumberPosition in sequence (0-based)
currentForm.isLastBooleanWhether this is the final form

Example Workflows

Example 1: Employee Onboarding Completion

Trigger: SmartForm Sequence (After sequence)

SmartForm Sequence Trigger

Generate PDF
→ Template: "Onboarding Summary"
→ Data: sequence.forms

Send Email (to HR)
→ Subject: "New employee onboarding complete"
→ Attachment: Generated PDF

Send Email (to Employee)
→ Subject: "Welcome! Your onboarding is complete"

API Call (HR System)
→ Create employee record with all data

Example 2: Real-time Progress Tracking

Trigger: SmartForm Sequence (After each form)

SmartForm Sequence Trigger

If Condition: currentForm.isLast
├── Yes:
│ └── Send Email: "All forms complete!"
└── No:
└── Send Email: "Form {{currentForm.index + 1}} received"

API Call
→ Update CRM with latest form data

Example 3: AI-Driven Application Process

Trigger: SmartForm Sequence (After sequence, Enable as AI Tool: ON)

SmartForm Sequence Trigger

AI Request
→ Analyze all responses
→ Score application
→ Generate recommendation

If Condition: score > 70
├── Yes:
│ ├── Create JIRA Issue: "Review application"
│ └── Send Email: "Your application is under review"
└── No:
└── Send Email: "Thank you for your interest..."

Comparison: SmartForm vs SmartForm Sequence Trigger

FeatureSmartForm TriggerSmartForm Sequence Trigger
Triggers onSingle form completionSequence completion
Data availableOne form's responsesAll forms' responses
Execution optionsAfter form onlyAfter each form / after sequence / both
Enable as AI Tool✅ Yes✅ Yes
Best forSimple formsMulti-step processes

Best Practices

1. Use Both Execution Options Strategically

  • After each form: Quick confirmations, real-time sync
  • After sequence: Heavy processing, final actions

2. Leverage AI Tool for Better UX

Enable "AI Tool" for sequences that benefit from conversational completion:

  • Applications
  • Assessments
  • Onboarding
  • Surveys

3. Handle Partial Completions

Use "After each form" to save progress, so users don't lose data if they abandon mid-sequence.

4. Test the Full Flow

Test sequences thoroughly:

  • Direct completion
  • Delegated forms
  • AI chatbot completion
  • All SmartFlow triggers

Ready to elevate your
user experience?

Deploy AI assistants that delight customers and scale with your business.

GDPR Compliant