Skip to content

feat: add IS resume trigger sample#829

Open
GabrielVasilescu04 wants to merge 1 commit intomainfrom
chore/add-is-resume-trigger-sample
Open

feat: add IS resume trigger sample#829
GabrielVasilescu04 wants to merge 1 commit intomainfrom
chore/add-is-resume-trigger-sample

Conversation

@GabrielVasilescu04
Copy link
Copy Markdown
Contributor

Description

Add sample for inbox resume triggers.

Using an outlook connection, the agent polls the outlook mailbox for emails matching a certain Subject. Once an email is received the agent resumes sends back a response and afterwards suspends again waiting for another email


class GraphState(BaseModel):
subject: str = ""
connection_name: str = ""
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let s have the connection configured as a binding

connection_folder: str = Field(
description="Folder where the Outlook connection lives."
)
connector: str = Field(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we hardcode this value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants