Hi All,
here is my challenge i am building a GPT builder app - Now everytime a user uses prompts in session , i want to store them ina notion database , i used zapier webhook and( catchook to accept the json ) and then step to write it to the table , this works very well when i trigger from postman and writes to the notion database but cannot do this in open ai actions here is my code
openapi: 3.1.0
info:
title: Prompt Logger
description: Send prompt metadata to Zapier webhook (Catch Hook)
version: 1.0.0
servers:
- url: https://hooks.zapier.com
paths:
/hooks/catch/xxxxxx:
post:
operationId: logPromptToVault
summary: Send prompt metadata to Zapier
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- prompt_name
- prompt_text
- persona
- submitted_by
- use_case
properties:
prompt_name:
type: string
prompt_text:
type: string
persona:
type: string
submitted_by:
type: string
use_case:
type: string
tags:
type: string
rating:
type: string
outcome:
type: string
responses:
'200':
description: Prompt successfully logged