Skip to content

Fixes #191: Add webhook integration example#194

Closed
davideast wants to merge 1 commit into
mainfrom
fix/191-webhook-integration-example-786752040379806077
Closed

Fixes #191: Add webhook integration example#194
davideast wants to merge 1 commit into
mainfrom
fix/191-webhook-integration-example-786752040379806077

Conversation

@davideast

Copy link
Copy Markdown
Collaborator

Fixes #191

Context

This PR addresses issue #191 by creating a detailed, runnable example of integrating the Jules SDK with webhooks for event-driven workflows.

Changes

  • Created packages/core/examples/webhook/index.ts with a Hono-based web server.
  • Added packages/core/examples/webhook/package.json with necessary runtime dependencies (hono, @hono/node-server, etc.).
  • Created packages/core/examples/webhook/README.md containing instructions on how to use it.
  • Updated packages/core/README.md to link directly to this example.

The example has been locally tested and confirms successful session creation on incoming payload events. Core SDK tests were verified and passed successfully.


PR created automatically by Jules for task 786752040379806077 started by @davideast

This PR introduces a practical example demonstrating how to trigger a Jules SDK session via a webhook.

It includes:
- A new Hono-based Express/webhook server under `packages/core/examples/webhook`.
- `index.ts` containing the server logic for creating a session dynamically.
- `package.json` with dependencies and start scripts.
- `README.md` guiding users on how to run and test the webhook.
- Update to `packages/core/README.md` to list the new example.

Fixes #191

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions github-actions Bot added the fleet-merge-ready Ready for fleet sequential merge label Mar 9, 2026
@github-actions github-actions Bot added this to the Examples milestone Mar 9, 2026
davideast added a commit that referenced this pull request Mar 9, 2026
…bhook, and GitHub Actions

Consolidate five conflicting pull requests that add new example setups to `@google/jules-sdk`. This PR safely incorporates the content from PRs #193, #194, #195, #196, and #197 by merging all documentation in `README.md` cleanly and creating independent execution files for each example. Root `package.json` workspaces was updated to ensure local inter-package dependencies (e.g., `workspace:*`) resolve correctly.

Fixes #189
Fixes #190
Fixes #191
Fixes #192

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
davideast added a commit that referenced this pull request Mar 9, 2026
Combines documentation and code from PRs #193, #194, #195, #196, and #197 into a single unified implementation.

- Added `basic-session` example
- Added `advanced-session` example
- Added `agent` workflow example
- Added `webhook` example
- Added `github-actions` example
- Cleanly updated `packages/core/README.md` to reference all examples
- Updated root `package.json` workspaces to include `packages/core/examples/*`
- Generated matching `bun.lock` for the new configurations

Fixes #188
Fixes #189
Fixes #190
Fixes #191
Fixes #192

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
davideast added a commit that referenced this pull request Mar 9, 2026
This commit resolves conflicts between multiple PRs (#193, #194, #195, #196)
that added different examples to the documentation.

It adds the new examples for github-actions, webhook, advanced-session,
and agent, and consolidates them in the `packages/core/README.md`.

Fixes #189
Fixes #190
Fixes #191
Fixes #192

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
davideast added a commit that referenced this pull request Mar 9, 2026
Consolidate five conflicting pull requests that add new example setups to `@google/jules-sdk`. This safely incorporates the content from PRs #193, #194, #195, #196, and #197 by merging all documentation in `README.md` cleanly and creating independent execution files for each example. Root `package.json` workspaces was updated to ensure local inter-package dependencies (e.g., `workspace:*`) resolve correctly.

Fixes #188
Fixes #189
Fixes #190
Fixes #191
Fixes #192

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
davideast added a commit that referenced this pull request Mar 9, 2026
…s to @google/jules-sdk

This safely incorporates the content from PRs #193, #194, #195, #196, and #199 by merging all documentation in README.md cleanly and creating independent execution files for each example. Root package.json workspaces was updated to ensure local inter-package dependencies (e.g., workspace:*) resolve correctly.

Fixes #188
Fixes #189
Fixes #190
Fixes #191
Fixes #192

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@davideast

Copy link
Copy Markdown
Collaborator Author

Resolved via reconciliation PR #214

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

Labels

fleet-merge-ready Ready for fleet sequential merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fleet Execution] [Webhook Integration Example]

1 participant