Skip to content

DEVELOP-2280-15: Devin.ai is now able to respond to automation events.#4

Open
tim-field wants to merge 3 commits into
mainfrom
DEVELOP-2280-15-idea-enable-automation-rules-delegate-extension-agents
Open

DEVELOP-2280-15: Devin.ai is now able to respond to automation events.#4
tim-field wants to merge 3 commits into
mainfrom
DEVELOP-2280-15-idea-enable-automation-rules-delegate-extension-agents

Conversation

@tim-field

@tim-field tim-field commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

Support triggering via automation

Designed to work with https://github.com/aha-app/aha-app/pull/44965 this moves most logic to the server side lambda we then call this same event listener from both the UI and the automation rules.

Simplify attachment fetching

When https://github.com/aha-app/aha-app/pull/44965 merges we can fetch token based URL's which enable us to fetch the attachments server side. This significantly simplifies the attachment upload process as we no longer need to base64 encode client side

Simplify attachment fetching

export type CreateSession = z.infer<typeof CreateSessionSchema>;

// Converts a string to bytes (replacement for TextEncoder which isn't available)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Moved to devin.ts

Dropped base64 related image handling functions which we no longer need

resultSchema: DevinSessionDataSchema,
handler: async (args, { settings: rawSettings }) => {
const { prompt, title, attachments = [] } = args;
const { record } = args;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated to so that the automation rule and the UI pass the same payload,

record: {id:string, typename: 'Feature' | 'Requirement' }

@tim-field tim-field marked this pull request as ready for review February 10, 2026 23:25
@tim-field tim-field changed the title DEVELOP-2280-15: Idea: Enable automation rules to delegate to extension agents DEVELOP-2280-15: Devin able to respond to automation events, Simplify attachment handling. Feb 10, 2026
@tim-field tim-field changed the title DEVELOP-2280-15: Devin able to respond to automation events, Simplify attachment handling. DEVELOP-2280-15: Devin able to respond to automation events. Feb 10, 2026
@tim-field tim-field changed the title DEVELOP-2280-15: Devin able to respond to automation events. DEVELOP-2280-15: Devin.ai is now able to respond to automation events. Feb 10, 2026
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.

1 participant