Setup Chatrace Chatbot with Custom Flow

Job ID: 38719963

Budget: $10 – $30 USD

i want someone to setup chatrace chatbot for me my flow is below

1. Customer Greeting and Product Introduction
- Flow Step: Start with a Trigger when the customer sends a message.
- Action: Set a Message Block to introduce your product.
- Message: "Hello! Welcome to [Your Brand]. We offer [Product Name] at [Price]. How can I help you today?"
- Conditional Block: If the customer asks for a review image send image
- Add Image Message Block to send the product image.

2. Customer Input (Text or Image)
- Conditional Branch: Add a condition to check whether the customer sends:
- Text: Set conditions to analyze the message content (address details).
- Image: Use Chatrace’s webhook integration to call OpenAI’s image recognition (e.g., using a custom API) to extract details from the image.
- Branch 1 - Text Input:
Add Conditional Blocks to verify if the text contains all necessary address info (ZIP code, phone number).
If incomplete, send a Message Block to ask for missing details.
- Branch 2 - Image Input:
After using the webhook to analyze the image, check if the extracted content is a valid address.
If valid, proceed to the next step. If not, ask for more information using a Message Block.

3. Shipping Information Validation and Conversion to JSON
- Trigger: When the shipping info is complete.
- Action: Use a Webhook Integration Block in Chatrace to convert the shipping info into JSON format. You can either do this internally or by calling an external API.
- Example webhook output:

json

{
"name": "Customer Name",
"address": "Customer Address",
"zip_code": "12345",
"telephone": "0987654321"
}

- Google Sheets Integration: Use Chatrace’s Google Sheets integration to store the JSON data into a specific sheet.

4. Purchase Event Tracking for Facebook Ads
- Trigger: After storing the customer data.
- Action: Set up a Webhook Block to send a purchase event to the Facebook Conversion API. This step will require setting up a custom webhook with Chatrace that sends the data to Facebook for tracking ROI and purchase events.

5. Confirmation and Next Steps

- Message Block: Once the purchase event is sent, add a final Message Block that confirms the order.
- Message: "Thank you! Your order has been placed. You will receive it soon. Let us know if you need any further assistance."

Optional Enhancements:
Delay Block: Add a delay before sending the confirmation to make the interaction feel more natural.
- Order Summary: Before submitting the event, send an order summary to the customer for review and confirmation.
Related categories: Chatbot AI Chatbot