Messaging Channels
how to retrieve the list of channels used to send mail in scenarios from python code ?
Operating system used: windows
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023, Circle Member Posts: 2,591 Neuron -
Hello,
Thanks for your response, I need this to use to retrieve channel id to send a mail from a python code.
when i use the above function i got the Error in the attached file.
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023, Circle Member Posts: 2,591 NeuronWorks fine for me, you may have an older version of Dataiku that doesn't support this API, upgrade to v12.6.2 to get it:

In any case the Channel ID is displayed in the Admin interface and shouldn't change. You can ask your Dataiku Admin to let you know the ID:

-
I used the plugin with incoming webhooks and a scenario step to trigger messages. It worked fine once I set up the JSON payload right and made sure the permissions were correct.
-
I ended up using sms.to’s API for sending notifications from my scenario steps. It was pretty easy to set up with a Python script, and their docs had clear examples. If you’re okay with HTTP requests, you can trigger messages from within a Python step in a scenario without much fuss. Their webhook support helped me track delivery status too, which was nice for logging.
-
I ran into this with one of our setups—ended up needing to route outbound messages through a sip trunking provider to handle message delivery across different formats. That helped us manage sending both SMS and voice messages from a single point without juggling different APIs. It saved time and made the error handling way easier to track.