Overview
This guide walks you through creating a Zap that:- Detects travel requests in a Slack channel.
- Splits the message text to extract the location and travel dates.
- Uses Dappier’s AI to generate a detailed itinerary.
- Posts the itinerary back into Slack.
Watch the Video Guide
If you prefer a visual walkthrough, check out the accompanying video guide below:Prerequisites
Before starting, ensure you have:- A Zapier account
- A Slack workspace with a public channel for travel requests.
- A Dappier API Key (Generate it from Dappier Platform under Settings > Profile > API Keys).
Step 1: Create a New Zap in Zapier
- Log in to Zapier and click Create a Zap.
- Select a Trigger:
- Search for Slack and choose “New Message Posted to Channel”.
- Choose the Slack workspace and the channel where users will request itineraries.
- Click Continue, then Test Trigger.
Step 2: Extract Travel Details Using Formatter
- Click the ”+” icon to add an action.
- Search for Formatter by Zapier and select it.
- Choose “Text” as the action event.
- Select “Split Text” as the transformation.
- Configure the fields:
- Input: Select the Slack message (e.g.,
"trip Charlotte August 10-15"). - Separator: Enter a single space (
" "). - Segment Index: Choose “All as Separate Fields” to extract parts dynamically.
- Input: Select the Slack message (e.g.,
- Click Continue, then Test Step.
trip(ignored)Charlotte→ CityAugust→ Month10-15→ Travel Dates
Step 3: Generate Travel Itinerary Using Dappier
- Click the ”+” icon to add an action.
- Search for Dappier and select it.
- Choose “Get Real Time Data” as the action.
- Configure the fields:
- Search Query:
- Click Continue, then Test the Step.
- Search Query:
Step 4: Post the Itinerary Back to Slack
- Click the ”+” icon to add a final action.
- Search for Slack and select it.
- Choose “Send Channel Message”.
- Configure the fields:
- Channel: Select the Slack channel where the request was posted.
- Message Text:
- Enable “Send as a bot” and set the bot name (e.g., “TravelBot”).
- Click Continue, then Test Step.
Final Step: Publish Your Zap
- Click Publish Zap to activate the automated travel assistant.
- Your Zap will now listen for travel requests in Slack, generate itineraries, and post them back!
Summary
✅ Automate travel planning with AI-generated itineraries.✅ Extract user requests from Slack dynamically.
✅ Use Dappier’s AI to fetch real-time, detailed travel plans.
✅ Deliver seamless trip planning without manual input. 🚀 Your Slack workspace now has an AI-powered travel planner that instantly creates personalized itineraries!

