Can I Use the 'Build with AI' Feature to Fix Pipedream SDK Issues and How Can I Move the Completed Build into My Platform?

This topic was automatically generated from Slack. You can find the original thread here.

I am trying to get my agent to properly use the pipedream SDK, but I keep getting this error message. It seems the agent won’t Select an app since that part is blank. So I was asking about taking a new approach and using the ‘build with AI’ feature in the workspace and if once I completed building it I could then move it into my platform and IF so how would I do that.

It seems the agent won’t Select an app since that part is blank
What do you mean that part is blank?

It’s not choosing an account to connect to so the image just shows the pipedream P → nothing. Does this mean the agent isn’t querying properly?

Yes, are you calling pd.connectAccount() from your app? How is the account connection happening? You have to pass the app that you want to connect to.

Im working on this. I think I am missing the API endpoint to fetch the app names in pipedream.

If I built my agent using this Pipedream - Connect APIs, AI, databases and more would it be more reliable and would I be able to move it into my platform to run in production?

This isn’t an issue with Connect not being reliable, if you aren’t passing the app in the connectAccount call, then the app connection won’t work. You can fetch all apps here: Pre-built tools for your app or agent — Pipedream

Agents you build using string.com solve a pretty different use case – those are currently focused on using your connected account, and not agents that your customers will use.

What is your core use case?

To allow our users to complete repetitive and mundane workflows across their software stack with our browser agent that plans, reasons, and executes. I want to add pipedream to do the same as our browser agent and see which perform better at what tasks.

Got it, so you’ve built that agent, and your users will be connecting their accounts, right? If so, Pipedream Connect is definitely the solution for you, you just need to solve the issue with why you aren’t passing app in connectAccount. Are you using MCP? How are you initiating the account connection?

Yes to both having the agent and users will be connecting their accounts. We’re not using MCP directly - we’re initiating account connections when our agent detects a user needs to connect to a service. Im guessing MCP would make this much easier.

once the connectAxcount is completed successfully how does the MCP server URL get generated?

Can you provide insight on how the mcp url should be constructed?

Yea, the URL should look like this:

https://remote.mcp.pipedream.net/:external_user_id/:app_slug

Check out the docs here: Add Pipedream MCP to your app or agent — Pipedream

Thank you