Airline Ticket Re-Brand
Here is how I have rebranded airline tickets for a travel agency.
Context.
A business comes to me and asks,
Hey Washim,
I have a travel agency, where I book airline tickets for my clients. But the tickets are from different platforms. And I didn't want to let my clients know from where I booked the ticket.
I replied - no issues at all. It takes no more than 1 day.
How I build.
1- Google Drive: When a new file is uploaded to the Google Drive, it fetches it.
2- Loop Node: Batch size 1 - rebrand one file at a time.
3- Google Drive Download: Download the new file.
4- Extract from PDF: Extract PDF data to JSON.
5- Code Node: Parse the data to make it ready for AI model processing.
6- LLM Message model: Here, I have used the Gemini. In the user prompt, full data is structured. The format of date, phone number (E.164). In the system prompt, define the Role - Rule - Input - Output - Solution for my desired output.
7 - Code Node: Through the Code Node, convert the input string format.
8 - Code Node: Put your invoice in HTML format. With the previous JSON data that generated the ticket contents.
9 - HTTP Node: Here, I use Pdfshift. io to generate the PDF/ticket PDF / my invoice.
10 - Google Drive Upload - Upload the converted file to another folder in Google Drive. and connect the node at the beginning of the loop node.
Extension:
Loop node - from the Done handle, it could be sent to Gmail/slack/what's app.
Outcome:
Before he needs to copy the information one by one
Put in the different fields of the clients pdf
and print it.
Now, it takes less than 60 seconds per ticket. ✌️
NB: How much should I charge for this? Let me know in the comments 😀
17
19 comments
Washim Sazzad
3
Airline Ticket Re-Brand
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by