Link pipedream to wix

How do I link my OpenAI API to wix site? I’m looking to create a text completion tool - I was able to link the OpenAI api to pipedream but am unsure as to next steps for linking the wix site to the OpenAI api responses.

Hi @nhnm20050115,

I think you need to think about what specific feature on wix you want to link Open AI to, and is Pipedream has the integration on that Wix feature. If there’s an integration, you can build a workflow around that.

This is more on you to really think about what you want and your usecase, then divide your usecase into steps, and evaluate what trigger/action on Pipedream can help you fulfill that step

1 Like

Hi @nhnm20050115,

To connect your Wix site to the OpenAI API using Pipedream, you can follow these steps:

  1. Create a new Pipedream workflow with an HTTP trigger. This will give you a unique URL that you can use to send data from your Wix site to Pipedream.
  2. Add the OpenAI (ChatGPT) — Create Completion (Send Prompt) action to your workflow. Connect your OpenAI account and configure the action with the required parameters.
  3. In your Wix site, create a form or input field to collect user input for the text completion.
  4. When the form is submitted, send an HTTP request (POST) from your Wix site to the Pipedream HTTP trigger URL, passing the user input as data.
  5. Pipedream will process the input, send it to the OpenAI API, and return the completion result.
  6. Capture the response from Pipedream in your Wix site and display the completion result to the user.

Remember to use the OpenAI (ChatGPT) — Create Completion (Send Prompt) action in the Pipedream UI. You can find it by searching for the OpenAI (ChatGPT) app in the step menu and selecting the Create Completion (Send Prompt) action. Follow the instructions in the source content at https://pipedream.com/apps/openai/actions/send-prompt for configuring the action.

For more details on how to send HTTP requests from your Wix site, you can refer to the Wix documentation: wix-fetch - Velo API Reference - Wix.com

If you need more assistance or have any questions, feel free to ask.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.