### Extract Event Details from Webinar Website Source: https://docs.relay.app/ai/prompt-templates This prompt template is used to extract details of upcoming webinars from a website. It specifically looks for the webinar name, presenter, date, start time, and sign-up link, useful for event aggregation and scheduling. ```plain text Below you will find a website that lists upcoming webinars for [Product]. Extract a list of all upcoming webinar events from this website. For each of them, extract: * The name of the webinar * The name of the presenter * The date * The start time * A link to sign up Website contents below this line ------ [$ Scraped Website Content] ``` -------------------------------- ### Webhook Deduplication Response Example Source: https://docs.relay.app/triggers/webhook-trigger This JSON object illustrates the response returned by Relay.app when a webhook request contains a 'relayDeduplicationKey' that has already been processed. It indicates a duplicate run and provides the ID of the existing run. ```json { "status": "duplicate", "existingRunId": "" } ``` -------------------------------- ### Get LinkedIn Comments on Post Source: https://docs.relay.app/app-specific-faqs/linkedin Retrieves comments on a LinkedIn post. Supports pagination to fetch more than 50 comments by specifying the page number. ```APIDOC ## GET /linkedin/post/comments ### Description Fetches comments for a given LinkedIn post. The API supports pagination to retrieve all comments, even if there are more than 50. ### Method GET ### Endpoint /linkedin/post/comments ### Parameters #### Query Parameters - **post_id** (string) - Required - The unique identifier of the LinkedIn post. - **page_number** (integer) - Optional - The page number of comments to retrieve. Defaults to 1. Each page returns a maximum of 50 comments. ### Request Example ```json { "post_id": "your_post_id_here", "page_number": 2 } ``` ### Response #### Success Response (200) - **comments** (array) - A list of comment objects. - **comment_id** (string) - The unique identifier of the comment. - **author_name** (string) - The name of the comment author. - **comment_text** (string) - The content of the comment. - **timestamp** (string) - The time the comment was posted. #### Response Example ```json { "comments": [ { "comment_id": "comment_123", "author_name": "Jane Doe", "comment_text": "This is a great post!", "timestamp": "2023-10-27T10:00:00Z" }, { "comment_id": "comment_456", "author_name": "John Smith", "comment_text": "I agree, very insightful.", "timestamp": "2023-10-27T10:05:00Z" } ] } ``` ### Note This endpoint retrieves top-level comments only and does not include replies to comments. ``` -------------------------------- ### Extract Action Items and Summarize Meeting Notes Source: https://docs.relay.app/ai/prompt-templates This prompt template helps extract action items assigned to a specific person (e.g., John) and summarize meeting notes from an email. It's beneficial for ensuring accountability and quick understanding of meeting outcomes. ```plain text You're an executive assistant and are tasked to process meeting notes that arrive in [John's] mailbox. You just received an email with meeting notes. Read the meeting notes in the email. Create a list of all the action items assigned to [John], and summarize the meeting notes. ``` -------------------------------- ### Classify and Summarize Customer Support Emails Source: https://docs.relay.app/ai/prompt-templates This prompt template is designed to classify incoming customer support emails into 'Feature request', 'Bug report', or 'Other' categories and provide a one-sentence summary. It helps in organizing and prioritizing customer feedback. ```plain text You're a customer support agent for a SaaS product. You just received an email from [$ Email::From name]. Please summarize their message in one sentence, and classify the email either as a 'Feature request', 'Bug report' or 'Other' when neither of the first two are a good fit. ```