Skip to content

Conversation

@dannyroosevelt
Copy link
Collaborator

@dannyroosevelt dannyroosevelt commented May 5, 2025

WHY

Summary by CodeRabbit

  • Documentation
    • Added a new "Troubleshooting" section covering common issues with Pipedream Connect components, including guidance on referencing app prop names, handling dynamic props, and checking source logs for deployed triggers.
    • Clarified authentication contexts and OAuth client requirements for workflows running on behalf of end users, including steps for registering and configuring custom OAuth clients.
    • Updated guidance on transitioning from development to production environments, replacing sales contact instructions with links to the pricing page.
    • Revised pricing and plan descriptions to emphasize free development usage and direct users to pricing details for production.
    • Improved deployment instructions for MCP servers by removing sales contact steps and highlighting free development mode availability.

@vercel
Copy link

vercel bot commented May 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2025 9:28pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
pipedream-docs ⬜️ Ignored (Inspect) May 5, 2025 9:28pm
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) May 5, 2025 9:28pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 5, 2025

## Walkthrough

The documentation for Pipedream Connect components was updated to include a new "Troubleshooting" section. This section details common issues, such as referencing the correct app prop name and handling dynamic props, and provides guidance on viewing source logs for deployed triggers, including descriptions of the sources UI and its current limitations. Additionally, the workflows documentation was enhanced to clarify authentication contexts, specifying OAuth client requirements for end user workflows and adding an informational callout about authentication scopes in HTTP webhook triggers. Several other Connect docs were revised to replace references to contacting Sales with links to the pricing page for production access and updated pricing details.

## Changes

| File(s)                                  | Change Summary                                                                                                                     |
|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| docs-v2/pages/connect/components.mdx    | Added a "Troubleshooting" section covering app prop naming, dynamic props handling, and instructions for checking source logs.      |
| docs-v2/pages/connect/workflows.mdx     | Clarified authentication contexts and OAuth client usage for end user workflows; added an OAuth client requirements section and an informational callout under HTTP webhook trigger. Minor formatting adjustments made. |
| docs-v2/pages/connect/environments.mdx  | Replaced instructions to contact Sales for production access with guidance to visit the pricing page.                              |
| docs-v2/pages/connect/index.mdx         | Updated "Plans and pricing" section to clarify Connect is free to start in development and linked to updated pricing page.          |
| docs-v2/pages/connect/mcp.mdx           | Revised MCP server deployment instructions to remove Sales contact step, add free development mode usage, and link to pricing page for production. |

## Suggested reviewers

- adolfo-pd

## Poem

> 🐇  
> When docs grow wise with troubleshooting tips,  
> Bugs and errors take their final dips.  
> With camelCase names and dynamic IDs in tow,  
> Debugging becomes a gentle flow.  
> Now logs and tabs are easy to see—  
> Oh, what a happy dev rabbit I’ll be!

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
docs-v2/pages/connect/components.mdx (3)

1016-1035: Grammar and clarity improvements for app prop reference.

  • Change the sentence
    - Always use the exact app prop name that's returned in the component definition.
    + Always use the exact app prop name as returned by the component definition.
    to use “as returned by” which reads more idiomatically.
  • Explicitly note that this must match the camelCase name field under configurable_props in the component’s JSON (not the key or app slug).
🧰 Tools
🪛 LanguageTool

[grammar] ~1022-~1022: The usual collocation for “returned” is “to”, not “in”.
Context: ...ways use the exact app prop name that's returned in the component definition. The app prop...

(RETURN_IN_THE)


1037-1091: Enhance the dynamic props ID guidance.

  • Wrap code examples in proper triple backticks with the javascript tag for consistency.
  • Emphasize persisting dynamicProps.id in your application state before invoking actions.
  • Provide an MDX link back to the “Configure dynamic props” section, e.g.:
    [Configure dynamic props](#configure-dynamic-props)
  • Example refactor:
    // Reload dynamic props
    const { dynamicProps } = await pd.reloadProps({});
    // Persist dynamicProps.id, then:
    const resp = await pd.runAction({
      externalUserId: "abc-123",
      id: "google_sheets-add-single-row",
      dynamicPropsId: dynamicProps.id, // Must include this
      configuredProps: {}
    });

1092-1113: Format source logs URL and unify placeholder naming.

  • Wrap the URL in triple backticks for better readability:
    https://pipedream.com/sources/{sourceId}
  • Rename {dcid} to {sourceId} or {deployedTrigger.id} to mirror variable names used earlier.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5637c92 and 3b5062c.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • docs-v2/pages/connect/components.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs-v2/pages/connect/components.mdx

[grammar] ~1022-~1022: The usual collocation for “returned” is “to”, not “in”.
Context: ...ways use the exact app prop name that's returned in the component definition. The app prop...

(RETURN_IN_THE)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
  • GitHub Check: validate-links

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs-v2/pages/connect/workflows.mdx (1)

419-420: Simplify wording for readability
Consider replacing “Anyone is able to run workflows…” with “Anyone can run workflows…” to make the text more concise:

- Anyone is able to run workflows for your end users in `development`.
+ Anyone can run workflows for your end users in `development`.
🧰 Tools
🪛 LanguageTool

[style] ~419-~419: As a shorter alternative for ‘able to’, consider using “can”.
Context: ...on requires a higher tier plan - Anyone is able to run workflows for your end users in `de...

(BE_ABLE_TO)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9d3f2d2 and 4c31606.

📒 Files selected for processing (4)
  • docs-v2/pages/connect/environments.mdx (2 hunks)
  • docs-v2/pages/connect/index.mdx (1 hunks)
  • docs-v2/pages/connect/mcp.mdx (1 hunks)
  • docs-v2/pages/connect/workflows.mdx (4 hunks)
✅ Files skipped from review due to trivial changes (2)
  • docs-v2/pages/connect/index.mdx
  • docs-v2/pages/connect/environments.mdx
🧰 Additional context used
🪛 LanguageTool
docs-v2/pages/connect/workflows.mdx

[style] ~419-~419: As a shorter alternative for ‘able to’, consider using “can”.
Context: ...on requires a higher tier plan - Anyone is able to run workflows for your end users in `de...

(BE_ABLE_TO)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
  • GitHub Check: validate-links
🔇 Additional comments (4)
docs-v2/pages/connect/mcp.mdx (1)

181-182: Consistent pricing update
The new bullets correctly remove the “contact Sales” requirement and direct users to the pricing page for production, matching the updates in other Connect docs.

docs-v2/pages/connect/workflows.mdx (3)

268-270: Clarify authentication context
The added callout clearly distinguishes Pipedream API authentication from managed auth for end users, which helps avoid confusion when securing HTTP webhooks.


274-274: Approve explicit credential bullet
Specifying that the OAuth client ID and secret apply to Pipedream API authentication reinforces the preceding callout and ensures developers know which credentials to use.


369-379: Great addition of OAuth client requirements
This new section succinctly outlines why custom OAuth clients are required for end-user workflows and provides concrete steps and links. It significantly improves the guidance for developers integrating Connect features.

@dannyroosevelt dannyroosevelt merged commit 737da99 into master May 5, 2025
9 checks passed
@dannyroosevelt dannyroosevelt deleted the danny/connect-docs-source-logs branch May 5, 2025 21:28
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