This topic was automatically generated from Slack. You can find the original thread here.
how do I create a workflow to create a new zendesk ticket when a text message is received from twilio, and also send a text message back through twilio to the same person if someone replies to the newly created zendesk ticket?
To create a workflow that creates a new Zendesk ticket when a text message is received from Twilio, and also sends a text message back through Twilio to the same person if someone replies to the newly created Zendesk ticket, you’ll need to set up two main parts in your workflow: 1. Triggering on a new incoming SMS from Twilio and creating a Zendesk ticket. 2. Triggering on a new reply to the Zendesk ticket and sending a text message back through Twilio. ### Part 1: Creating a Zendesk Ticket on Receiving a Twilio SMS First, you’ll need to set up a trigger for receiving a new incoming SMS from Twilio and then an action to create a new ticket in Zendesk. #### Step 1: Set Up Twilio SMS Trigger 1. Search for the Twilio app from the trigger menu. 2. Select the New Incoming SMS (Instant) trigger. 3. Connect your Twilio account. 4. Select an Incoming Phone Number. 5. Follow the instructions on the trigger configuration screen. You may need to generate a test event from Twilio to get real data to test your workflow. #### Step 2: Add Action to Create Zendesk Ticket 1. Search for the Zendesk app from the step menu. 2. Select the Create Ticket action. 3. Connect your Zendesk account. 4. For the Comment body, pass the text message received from the Twilio trigger. 5. Click Test to run the action and test the configuration. ### Part 2: Sending a Text Message Through Twilio When a Zendesk Ticket is Replied To For this part, you’ll need to set up a new workflow that triggers when there’s a reply to a Zendesk ticket and then sends a text message through Twilio. #### Step 1: Set Up Zendesk Ticket Reply Trigger 1. Search for the Zendesk app from the trigger menu. 2. You might use a trigger like New Ticket (Instant) or another relevant trigger based on your specific needs for detecting replies. (Note: The exact trigger for detecting replies to a ticket might vary, and you might need to explore Zendesk triggers or use a custom setup based on your Zendesk configuration.) 3. Connect your Zendesk account. 4. Follow the instructions on the trigger configuration screen. #### Step 2: Add Action to Send SMS Through Twilio 1. Search for the Tw
It sounds like you’ve correctly set up the Twilio integration and the webhook URL, but you’re not seeing test events as expected. Here are a few steps you can take to troubleshoot this issue: 1. Verify the Webhook URL: Double-check that the webhook URL provided in Twilio matches exactly with the one expected by your Pipedream source. Even a small typo can prevent events from being received. 2. Check Twilio Configuration: Ensure that your Twilio account is correctly configured to send events to the webhook URL. This might involve setting up event triggers or specifying the types of events you want to send to the webhook. 3. Inspect the Pipedream Logs: Go to your Pipedream workflow and check the logs to see if there are any incoming requests from Twilio. This can help you determine if the events are reaching Pipedream but not being processed as expected. 4. Generate a Test Event from Twilio: Sometimes, real data is needed to properly test the integration. Try generating a test event from Twilio (e.g., by making a test call or sending an SMS) to see if the event shows up in Pipedream. 5. Review Pipedream’s Troubleshooting Guide: Pipedream has a troubleshooting guide that covers common issues with triggers not emitting events. You can find it here: Troubleshooting Common Issues - Pipedream. If after following these steps you’re still not seeing test events, it might be helpful to reach out for more direct support. You can visit Support - Pipedream for more support options.