circle-info
Welcome to the new Sesami Help Portal with AI capabilities. Search your question and get your answer instantly!
githubEdit

Email and Webhook as Action Types

Sesami Flows supports two primary action types to automate your booking workflows: Email and Webhook.

Email Actions

Email actions allow you to send custom-branded notifications based on booking events.

When to use Email actions

  • Send customized confirmation emails with specific branding

  • Create service-specific or location-specific email templates

  • Send different emails based on booking conditions (language, service type, etc.)

  • Notify team members or customers with custom messaging

How Email actions work

  1. A booking event occurs (created, updated, or canceled)

  2. Your Flow checks the conditions you've defined

  3. If conditions match, the email is sent to the specified recipient

Email action capabilities

  • Custom content: Write your own subject lines and email body

  • Conditional branching: Send different emails based on service, location, or language

  • Dynamic variables: Include booking details like date, time, customer name, service name

  • Multiple recipients: Send to customer, merchant, or team member

circle-exclamation

Example use cases

  • Send a welcome email in French for French-speaking customers

  • Send specialized pre-appointment instructions for specific services

  • Notify a manager when high-value bookings are made

  • Send follow-up emails after appointments are completed

Webhook Actions

Webhook actions send booking data to external systems in real-time via HTTP POST requests.

When to use Webhook actions

  • Integrate with third-party marketing platforms (Klaviyo, Omnisend, etc.)

  • Trigger custom business logic in your own systems

  • Send booking data to analytics or CRM platforms

  • Connect to Zapier or Make (formerly Integromat) for extended automation

How Webhook actions work

  1. A booking event occurs (created, updated, or canceled)

  2. Your Flow checks the conditions you've defined

  3. If conditions match, Sesami sends an HTTP POST request to your webhook URL

  4. The receiving system processes the booking data

Webhook payload

Webhooks send booking data in JSON format, including:

  • Booking details (date, time, duration)

  • Customer information (name, email, phone)

  • Service and resource details

  • Booking status (confirmed, canceled, rescheduled)

  • Custom fields and metadata

Example use cases

  • Send booking data to Klaviyo for marketing automation

  • Trigger SMS reminders via Twilio or similar services

  • Update your internal CRM when bookings are created

  • Send booking analytics to Google Analytics or Mixpanel

  • Create tasks in project management tools when services are booked

Comparing Email vs Webhook Actions

Feature
Email Action
Webhook Action

Primary use

Send notifications

Send data to external systems

Recipient

Email address

HTTP endpoint URL

Content

HTML email

JSON data payload

Calendar files

Not supported

N/A

Customization

Subject, body, branding

Full booking data in JSON

Best for

Customer/team notifications

System integrations

Setting up actions in Flows

To add an Email or Webhook action to your Flow:

  1. Open Sesami in your Shopify Admin

  2. Navigate to Settings > Flows

  3. Create a new Flow or edit an existing one

  4. Choose your trigger event (booking created, updated, canceled)

  5. Add conditions if needed (optional)

  6. Add an Email or Webhook action

  7. Configure the action details

  8. Save and test your Flow

circle-info

Pro tip: Always test your Flows with a test booking before enabling them for live customers. Check that emails arrive correctly or that webhook data is received properly.

Troubleshooting

chevron-rightWebhook not receiving datahashtag
  • Verify your webhook URL is correct and publicly accessible

  • Check that your endpoint accepts POST requests

  • Ensure your server returns a 200 OK status code

  • Review your Flow conditions to ensure they're being met

  • Check Sesami Flow logs for delivery status

chevron-rightEmail not being senthashtag
  • Verify the email address is correctly configured

  • Check your Flow conditions are being met

  • Ensure the Flow is enabled and active

  • Test with a simple booking to verify the trigger works

  • Check spam folders if testing with your own email

Last updated

Was this helpful?