rbangueses / conversation-history

Adds a new task canvas tab with conversation history
2 stars 3 forks source link

Can you help me with a step by step to deploy the functions and the plugin correctly? #1

Open JorgeF55 opened 10 months ago

JorgeF55 commented 10 months ago

I am trying to deploy the functions but with the twilio serverless:deploy command but the deployment does not finish successfully. image

It would be very helpful for me to have a step-by-step guide on how to deploy the functions correctly and run the plugin to validate its functionality.

bpegorari commented 9 months ago

I'm having the same issue.

Username SK** Password 4vIN**** Service Name plugin-conversation-history Environment dev Root Directory /Users/bpecorari/Documents/conversation-history-main Dependencies @twilio-paste/chat-log, @twilio-paste/core, @twilio-paste/icons, @twilio/flex-plugin-scripts, prop-types, react, react-dom Env Variables Runtime default

✖ Failed Deployment

│ ERROR │ │ undefined

MauricioOlitel commented 8 months ago

I'm having the same issue. someone got it?

rbangueses commented 8 months ago

Hi all, apologies I haven't had the time to solve this.. as a temporary work around you can create each of the functions manually via the Twilio Functions GUI and paste the code manually for each of the functions.

MauricioOlitel commented 8 months ago

the value below this correct? REACT_APP_SERVERLESS_DOMAIN_URL=https://plugin-conversation-history-1506-dev.twil.io/ #domain hosting your serverless functions

Or would that be the value? REACT_APP_SERVERLESS_DOMAIN_URL=https://1506-dev.twil.io/ #domain hosting your serverless functions

rbangueses commented 8 months ago

You would use the domain automatically generated by Twilio Functions. Twilio Functions generates a domain when you create a service and add new functions. You can check the address of the domain by clicking on the three vertical dots next to the function name and copy url.

For more about Twilio Functions see here: https://www.twilio.com/docs/serverless/functions-assets/functions

MauricioOlitel commented 8 months ago

Hi, Do Flex Insights need to be active?