Actions15
- Trip Actions
- Flight Actions
- Hotel Actions
- Activity Actions
- Transport Actions
Flight → Attach Document
AI-generatedOverview
This node operation attaches a document to a flight object in the TripIt system. It is useful for users who want to add supporting documents such as tickets, boarding passes, or itineraries to their flight reservations within TripIt. For example, a travel manager could use this to upload a PDF boarding pass directly to a flight entry for easy access and organization.
Use Case Examples
- Attach a PDF boarding pass to a specific flight reservation by providing the flight's UUID, the document name, the base64 encoded content of the PDF, and the MIME type.
- Add an itinerary document to a flight entry to keep all travel documents consolidated in one place.
Properties
| Name | Meaning |
|---|---|
| Object UUID | The UUID of the flight object to which the document will be attached. |
| Document Name | The name of the document to attach to the flight object. |
| Document Content | The base64 encoded content of the document to attach. |
| Document Type | The MIME type of the document to attach, e.g., application/pdf. |
Output
JSON
uuid- The UUID of the flight object to which the document was attached.documentName- The name of the attached document.documentType- The MIME type of the attached document.status- The status or result of the document attachment operation.
Dependencies
- TripIt API credentials for authentication and access to the TripIt service.
Troubleshooting
- Common issues include invalid or missing UUIDs, which will prevent the document from being attached to the correct flight object.
- Errors related to document content encoding (must be base64) or unsupported MIME types may cause the operation to fail.
- API errors from TripIt, such as authentication failures or rate limits, will be surfaced as error messages indicating the problem.