Actions15
- Trip Actions
- Flight Actions
- Hotel Actions
- Activity Actions
- Transport Actions
Trip → Create
AI-generatedOverview
This node interacts with the TripIt API to create a new trip. It is useful for users who want to programmatically manage their travel plans by adding trips with specific details such as display name, start date, end date, and optionally a primary location. For example, a travel agency could automate trip creation for clients or a user could integrate their travel planning workflow with other tools.
Use Case Examples
- Creating a trip with a display name, start date, and end date to organize travel plans.
- Adding a primary location to a trip to specify the main destination.
Properties
| Name | Meaning |
|---|---|
| Display Name | The display name of the trip, which is a required field. |
| Start Date | The start date of the trip, which is a required field. |
| End Date | The end date of the trip, which is a required field. |
| Primary Location | The primary location of the trip, which is optional. |
Output
JSON
tripId- The unique identifier of the created trip.displayName- The display name of the created trip.startDate- The start date of the created trip.endDate- The end date of the created trip.primaryLocation- The primary location of the created trip, if provided.
Dependencies
- TripIt API
- An API key credential for TripIt API authentication
Troubleshooting
- Common issues include invalid or missing required fields such as display name, start date, or end date, which will cause the API to reject the request.
- API errors from TripIt may include messages about authentication failure, invalid date formats, or network issues.
- If an AxiosError is thrown, the node will provide a detailed error message from the TripIt API response to help diagnose the problem.