attribute to telegram

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ksv
    Member
    • Jul 2020
    • 59

    attribute to telegram

    Dear all,

    Could you tell me How can i put some attributes of Leads or other to Telegram? Tried many options - nothing works.
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #2
    You're trying to send message through AdvancedPack?

    Comment

    • ksv
      Member
      • Jul 2020
      • 59

      #3
      yes, i use Advanced Pack and only text i send successfully
      Last edited by ksv; 11-18-2020, 09:58 AM.

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1405

        #4
        Did you tried to use {{name}} ?

        Comment

        • ksv
          Member
          • Jul 2020
          • 59

          #5

          This does not work.

          "text": "Test:\n\n {{name}} *Hello*",
          Last edited by ksv; 11-18-2020, 10:46 AM.

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            Hi there,
            when you used {$entity} - the structure was correct but the value wasn't. To fetch the record name you should use {$name} https://docs.espocrm.com/administrat...d-http-request.
            Last edited by Maximus; 11-18-2020, 10:50 AM.

            Comment

            • ksv
              Member
              • Jul 2020
              • 59

              #7


              Thanks a lot. It works

              Comment

              • ksv
                Member
                • Jul 2020
                • 59

                #8
                System sends records names for Lead : name, status, but can't send {$assignedUser},
                with {$assignedUserId} no problem.
                Last edited by ksv; 11-18-2020, 11:27 AM.

                Comment

                • Maximus
                  Senior Member
                  • Nov 2018
                  • 2731

                  #9
                  > but can't send {$assignedUser}, with {$assignedUserId} no problem.

                  Yep, cause you need to use {$assignedUserName} instead of {$assignedUser}.

                  Comment

                  Working...