Adding a CC to a ticket macro via webhook/trigger in Zendesk - json

I'm a newbie. I just created a webhook and trigger to add CCs to newly created tickets following these instructions:
https://support.sweethawk.com/hc/en-us/articles/360056870852-Using-Zendesk-triggers-to-add-CCs-to-a-ticket
The idea here is that I have a macro that I run on a new ticket that automatically adds CCs based on the tag in the macro. This method works, but unfortunately it sends the same initial message twice and doubles my signature like so:
https://imgur.com/a/Rp2iVwb
I apologize for all the censorship. I currently have no choice but to do this in a production environment. The blue is my company, the red is me (both agent and the requester), and the green is the test email I want to CC.
I have tried lots of different ways to get this to add the CC and send without doubling the message and signature, and finally ended up here after my most recent attempt. I'd like to know why exactly it doesn't work (and if anyone has a solution obviously). What I have done is modify the JSON from the instructional link above to not include a copy of the ticket description and instead just add the CC. I then created an additional trigger that will send the ticket description upon creation of the ticket. This second trigger successfully sends a single copy of the ticket description. However, my modified JSON doesn't add the CC. Can anyone tell me what's wrong with it?
{
      "ticket": {
            "email_ccs": {
                  "user_email": "mmmediainc#protonmail.com",
                  "action": "put"
            }
      }
}

Related

Added request description | AssertionError: expected [] to have a length above 0 but got 0?

How I can solve this issue in post man tired documentation but couldn't find any useful resource please help??
This error occurs in the Student Expert training, when verifying whether you have completed all of the tasks that were requested. Specifically, it relates to this element of the Get specific player request:
Before you continue with scripting, add a description to this
request—the description will appear within the collection
documentation, which you would use if you were e.g. publishing an API
for public use. In the Postman app, at the top of this request tab, to
the left of the request name, expand and and click to edit. Add a
short description of the request (you can use markdown) and click
Save. If you're using the web version, use the little documentation icon to the right of the request.
The test is looking at the Get specific player endpoint and checking whether a description has been set: expected [description] to have a length above 0 but got 0. If you add a description, save, and regenerate your public collection share link, the test will pass.

Send automatic emails from CSV attachment

Each day I receive an email with a CSV/excel attachment With a list of email addresses. I’d like to automatically take these addresses and mail an email template to all of them. The catch is, it has to be done on a work computer so I can’t download any additional programs to help with it. This will need to be done with native Windows apps. I’ve tried using VBA without success (I’m not well versed). Any help would be appreciated.
You can develop a VBA macro or COM add-in if you are going to distribute the solution to multiple machines. Basically, you need to handle the NewMailEx event of the Application class. This event fires once for every received item that is processed by Microsoft Outlook. The item can be one of several different item types, for example, MailItem, MeetingItem, or SharingItem. The EntryIDsCollection string contains the Entry ID that corresponds to that item. The NewMailEx event fires when a new message arrives in the Inbox and before client rule processing occurs. You can use the Entry ID returned in the EntryIDCollection array to call the NameSpace.GetItemFromID method and process the item.
Private Sub Applicaition_NewMailEx(ByVal EntryIDCollection As String)
Dim mai As Object
Set mai = Application.Session.GetItemFromID(strEntryId)
MsgBox mai.Subject
End Sub
In the event handler, you need to save the attached Excel file to the hard drive. Then you can automate Excel to open the file and read its content for creating a new item based on a template saved. Read more about these actions in the following articles:
How To: Create a new Outlook message based on a template
How To: Create and send an Outlook message programmatically
How To: Fill TO,CC and BCC fields in Outlook programmatically

Azure Logic Apps Http-Call Output (Outputs in general ?) Changed?

I logged in today to make another logic app today, and i noticed the return output for (in this example) a Http-call has changed.
Before, i have a memory of the whole object showing in the output of an action in the workflow. Now i just se this:
Picture below:
The output body is only a string in some kind of encryption...
Does the Workflow definition Language where i want to reach one specific value in the Json-body still work? Or was this Update a major overhall.
I'm lost here.
Does the Workflow definition Language where i want to reach one specific value in the Json-body still work?
Yes, We can still do it, seems like you at the designer over view of a run, if you want to see full of inputs and output click on the Run details tab on top of this screen.
enter image description here
The content is base64 encoded, if you want to decode with in the logic apps for any other action input, we can use the base64 function which are explained here (https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language#functions)

How do I keep "MailApp.sendEmail" emails with the same subject threaded?

I've written a script that sends an hourly email to me using:
MailApp.sendEmail("john#doe.com", "Status Update", currentStatus);
My only gripe is that every message I get is treated as a separate thread, despite the subject lines all being the same. I'd prefer if all were threaded so I can see the stream of messages in one place.
Is there any way to have new status messages appended to the same thread?
Will this require using GMailApp functions instead?
EDIT (2016-08-26): I have solved my problem using the following method/workaround:
Include a unique "marker" somewhere in the status message. I use a static UUID that I generated online.
Use GmailApp.search() to find the thread with the status message(s) by looking for the unique marker.
Use GmailApp.reply() to add a new status message to the thread.
This keeps all the status messages together as desired. Perhaps there's a more elegant way to do this but this works...

What is the difference between the BU and ZK OK codes in SAP macro

I am trying the post an invoice to SAP using the F-47 transaction and using SHDB to record the transaction and learn how it works. I see there that sometimes BU and ZK BDC OK codes are used. I would like to understand the difference between them, but could not find any official documentation. Please, explain the difference between the two?
I found the meaning of some of the status codes. I post it here, so I can remember:
/00. Enter
/AB Go to overview
=ZK Go to additional information
=ENTE Enter (don't know exactly what is difference between /00)
=PI select cursor location
=STER Go to taxes
=DELZ delete cursor
=GO continue
=BU post (save)
/EEND end processing
=Yes select "yes" from message box
=BP park (save)
=ENTR Enter (don't know exactly what is difference between =ENTE or /00)
=AE save when changing document
=BK change document header (parking or posting parked document)
=P+ next page
=BL delete parked document
A BDC_OKCODE indicates which action is (will) be executed on a screen (things like save, back, exit etc). The BU code is used for a SAVE function (like in MM01 transaction). Sorry but I cannot recall to which function ZK maps to. Obviously their difference lies in the fact that they map to different functions. You can still find out which function each button utilizes by using System->Status->GUI status.
By the way, BTCI transactions are not fully robust- minor changes in GUI flow let your program break. Error handling / analysis is tedious.... DId you have a look to posting methods more preferably? E.g. like BAPI_* function modules? With the help of LSMW you can browse for different input methods and use them later standalone. Or you can use transaction BAPI directly.