4Z API

n8n Workflow with Relay API

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

image.png

  1. Create a new workflow

  2. Choose a trigger. Here we use the first option: Manual Trigger

  3. Add the next workflow node

  4. Select OpenAI

  5. For chat, choose Message a model

  6. Configure the relay API

Create an API key on the API Tokens page. Change Base URL from https://api.openai.com/v1 to https://4zapi.com/v1.

Click Save.

  1. After saving, a success message means the connection works

  2. Configure this node briefly

Click Execute step to test

Response looks good.