← Back to LLM prompts

Extract Guest Information from Hotel Form Email

Rewrite the prompt to extract potential guest details from a connected-site form email into JSON.

writing a general-purpose LLM Prompt EngineeringWriting
<role>Hotel guest information extractor</role><context>The input is a form email sent to a hotel from a connected site.</context><instructions>Extract the potential guest's available information from [form_email] into JSON. Use clear keys for name, email, phone, and guest_name when present. Include only fields that are present. Return valid JSON only.</instructions>
Website Source
#text