Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
3 answers
2k views

CloudPageURL via SMS broken link

I've found that using CloudPagesURL via SMS will always result in the Server Error 500 page, no matter if the URLEncode is used or not, even if the CloudPage itself just holds simple text. CloudPage ...
Rain's user avatar
  • 5,794
4 votes
1 answer
3k views

How to resubscribe a subscriber in mobile connect

We have a use case where we want to house all unsubscribed in Salesforce CRM but not in Marketing Cloud. This works in email sends as I can always send the transactional emails from Marketing Cloud , ...
Chandan's user avatar
  • 673
4 votes
1 answer
189 views

Marketing Cloud : Text Response works for the first time while issuing error messages afterwards

From MobileConnect, I have initiated a SMS send and a text response for the same. Both are working fine. I am able to send a text response which gets handled by my AMPscript shown below. %%[ var @...
Endless's user avatar
  • 95
3 votes
1 answer
655 views

AMPScript SMS InsertDE() function not working in SMS

It seems InsertDE() function is not working when triggered via SMS send (the code resides in the message body). I have tested the same function with a dummy cloud page and it was working good. Has ...
jc_mc's user avatar
  • 802
3 votes
1 answer
1k views

SFMC Mobile Connect, Update Data Extension After sending a Response in SMS

I need to update sales cloud and a data extension whenever a customer replied UNSUB to the sms that we send using Marketing Cloud. This is how I get the response IF Uppercase([MSG(0).NOUN(0)]) == "...
imajmdf's user avatar
  • 897
3 votes
1 answer
150 views

RetrieveSalesforceObjects no working in text response International long code

I'm coming across a strange issue. Texting companystop to a international long code that runs this code You have been unsubscribed %%[VAR @mobilenumber,@rc,@rows SET @mobilenumber = [MOBILE_NUMBER] ...
Johhnytska's user avatar
3 votes
1 answer
7k views

AMPScript in SMS - How to use dynamic content in SMS with AMPScript? MobileConnect

Can someone please advise me how to use AMPScript with the SMS? I'd like to use two different contents depending on the field in data extension, which is language. So for example for English clients ...
Paulina Kościelniak's user avatar
3 votes
2 answers
2k views

Using AttributeValue function with SMS send inside a journey builder

I'm trying to reference SalesCloud event data inside an SMS interaction in journey builder: %%[set @fname = AttributeValue('Contact:FirstName')]%% Hello %%=v(@fname)=%%! This doesn't return any ...
Mateusz Bartkowiak's user avatar
3 votes
1 answer
576 views

Adding multiple nouns of an inbound SMS to a Data Extension

I have a working AmpScript that adds the inbound message of a text response to a Data Extension: %%[ SET @MobileSendLogDE = "MobileSendLog" SET @MOBILE_NUMBER_FIELD_LABEL = "MobileNumber" SET ...
Christoph Cuquemel's user avatar
3 votes
0 answers
346 views

Unsubscribe SMS through Journey

We need to allow people to unsubscribe from an SMS that is sent through Journey Builder. We bring them to a Cloud Page where they confirm they want to unsubscribe. We also need to unsubscribe them ...
Daniel's user avatar
  • 105
3 votes
0 answers
836 views

MobileConnnect - customized "From" name & behaviour?

The MobileConnect instance that I work with, is based on a shared shortcode and then when we send texts out, we use a custom from name - and that is fine. Whenever we send an sms, it comes through ...
Kenneth Wagner's user avatar
2 votes
1 answer
2k views

MobileConnect, AMPSCRIPT

%%[ Var @msg if (Uppercase([MSG(0).NOUN(0)]) == "STEP2") then Set @msg = "Downtown" else Set @msg = "We're sorry that's incorrect" endif ]%% %%= v(@msg) =%% STEP2' is defined as Keyword. When ...
Susmitha SFMC Email spl's user avatar
2 votes
1 answer
1k views

Can you use a dynamic content block from content builder in Mobile Connect?

Is it possible to use a dynamic content block created in content builder in a Mobile Connect SMS? For example the SMS content would read "Hi this is a fancy message here is your coupon %%=...
cmccarra's user avatar
2 votes
1 answer
1k views

Personalized name with AMPScript for SMS

I would like to know on how to personalised SMS contents with AMPScript. I have 2 Data Extensions where one Data extension has member information, and another that's been imported: DE with SMS ...
Lindy Loo's user avatar
2 votes
0 answers
385 views

Trying to make API call to external server from SFMC

I'm trying to make API call to external system from a Cloud page, but when I publish I'm getting response Response:nullresultString. Is it something do with IP whitelisting or it's a code error. Below ...
Ramya's user avatar
  • 31
2 votes
1 answer
840 views

Get the Name of a MobileConnect message as an AMPScript variable

I'm building a "master sent log", which is essentially a DE that captures info about all email and sms messages sent from Marketing Cloud. It captures this using AMPScript in the email that uses a ...
Ben's user avatar
  • 912
1 vote
2 answers
1k views

Opt-in SMS keyword with AMPScript + Sales Cloud

Actually what I would like to implement is that whenever a subscriber replies JOIN to the short/long code he/she will be opted-in to all of the keywords under that code. is that possible? What would ...
Ivan Santana's user avatar
1 vote
2 answers
2k views

RaiseError - Will it stop SMS from sending

Is there any way to skip SMS sends for a current subscriber and move on to the next subscriber? I tried with the RaiseError AMPScript function but it is not working for MobileConnect messages. ...
MC Coder's user avatar
1 vote
1 answer
474 views

Amp Script for updating a DE from mobile connect

I am trying to set up a text through mobile connect where when the customer replies to text with a keyword it gets loaded against a DE in Marketing Cloud. In the text response template, I have the ...
KendallCochrane's user avatar
1 vote
1 answer
1k views

Using cloudpages in SMS messages

I would like to know if it is possible to, once I add the link of a cloudpage in an SMS message, retrieve the info of the customer like to store it in a Data Extension: SubscriberKey ...
fromero's user avatar
  • 1,049
1 vote
1 answer
233 views

SMS is not sending

I have ampscript to be used for mobile connect triggered in Journey Builder The SMS does not send but when I replace with just plain text, it does. Is there any errors with my code? Test SMS via ...
sfdclearner's user avatar
1 vote
1 answer
417 views

Identify mobile device platform (Android or iOS) in MobileConnect

Is there a way to determine what platform is sending an SMS message? The goal is to provide a dynamic link to the AppStore or Google Play to download an App depending on the platform.
victorcorey's user avatar
  • 1,808
1 vote
1 answer
3k views

Update Data Extension from text response

I've been working on an alternative solution to using non-keyword responses. I've been able to get that part working, however, when I try adding an AMPscript function to add or update a data extension ...
Sean's user avatar
  • 41
1 vote
1 answer
224 views

SMS Character Limit with AMPScript

We're using AMPScript to create a send log for all email and SMS sends. In MobileConnect, I can include the AMPScript and the SMS text fine and it's reported as one send however, when using Journey ...
James Lunn's user avatar
1 vote
1 answer
697 views

SFMC MobileConnect not sending SMS when using AMPScript/dynamic variables

Here's my SMS message: %%[ set @accountUserName = AttributeValue('Account_User_Name__c') set @QRCodeLink = AttributeValue('QR_Code_Link__c') set @eventName = AttributeValue('Event_Name__c') set @...
Mike Marks's user avatar
1 vote
1 answer
2k views

Shortening URL with AMPscript (Bit.ly)

I am trying to send values to the cloud page. my code is this: %%[ SET @caseId = [CaseID] SET @lastremdate = [Last Reminder Date] SET @Subscriber_ID = [Subscriber_ID] SET @link = ...
Anisha's user avatar
  • 11
1 vote
0 answers
111 views

Storing a Full Name in a custom Data Extension from an Info Capture response

We are trying to store a full name response from an Info Capture message into a custom data extension via AMPScript. We decided to use this approach instead of adding a new attribute to the ...
Jeremy's user avatar
  • 21
1 vote
2 answers
190 views

Is there a LogUnsubEvent/Log an UnsubEvent equivalent for MobileConnect?

I'm looking for a MobileConnect version of LogUnsubEvent where you can unsubscribe a contact at the All Subscriber level -- or in MobileConnect terms: All Contacts. My current options I see are: ...
Jackson Chen's user avatar
  • 4,765
1 vote
2 answers
1k views

Update Data Extension with keyword in Mobile Connect Text response

I was trying to trigger a specific MobileConnect text response keyword which should update a Data extension. When I add some ampscript to the outbound response, I get an error saying "There was an ...
Alex's user avatar
  • 11
1 vote
0 answers
331 views

How to send Outbound SMS Triggered Send from AMPScript

I need to send out SMS from Email using AMPScript. I already found a link where SMS can be triggered from automation. Basically, I need to know if I can trigger SMS by just using AMPScript & NOT ...
user36778's user avatar
  • 666
1 vote
0 answers
50 views

Formatting time into 12 hr in Mobile Connect

I have the following ampscript written to display a time in SMS in mobile connect, but whenever I test it out the result shows up in 24 hr time (e.g. '17:00 PM') is there an ampscript function for ...
ZackB's user avatar
  • 127
1 vote
1 answer
348 views

Ways of storing inbound SMS'es

What ways do we have to store inbound SMS'es from clients to new Data Extension? The limitation here is that we're trying to do this without requiring customer to specify a keyword in front of their ...
Rain's user avatar
  • 5,794
1 vote
2 answers
1k views

Personalize Mobile Connect SMS Not Working in Journey Builder

I am trying to Personalize SMS which is used in Journeybuilder. I am not receiving the SMS. When i use "SUBSCRIBERKEY",@Subscriberkey in lookuporderrows() I am able to receive SMS but not with ...
Ranjith Haridas's user avatar
1 vote
0 answers
2k views

Shorten URL for SMS [duplicate]

Referring to MC documentation I am trying to shorten a long URL using bitly. I have created an account in bitly and getting an API key from my personal account. But when I trigger the SMS, it did not ...
user44312's user avatar
1 vote
1 answer
326 views

AMPscript feedback on MobileConnect OptOut for multiple subscribers

I have a MobileConnect model where a subscriber could exist multiple times. The below code works, but will only process one row instead of all of them. (the context is a text-response sms). Can ...
Kenneth Wagner's user avatar
1 vote
2 answers
284 views

Allowing for multiple formats of mobile numbers

I'm trying to perform a lookup to retrieve a records "MemberNumber" off their mobile number. The data i'm dealing with has up to three different formats of numbers either starting with a 0, 61 or no ...
Luke Harrison's user avatar
0 votes
2 answers
544 views

Retrieve Mobile List attribute using ampscript in Mobile Push Message

I'm trying to retrieve Mobile List attribute using ampscript in Mobile Push Message and trying to insert a row based on that information in Data Extension. But when I try to send message, it gets ...
darkCloud's user avatar
0 votes
1 answer
900 views

Trying to use AMPScript within the JOIN/STOP message, results in the message "There was an error processing your message"

EDIT: I moved all of this code into a CloudPage accepting _MobileNumber as a query string parameter, and replaced the Mobile Connect AMPScript with an HTTPGet call to the CloudPage. Same issue. END ...
Mike Marks's user avatar
0 votes
1 answer
1k views

Sending SMS tracking data to the connected Sales cloud?

I have captured all tracking data from the "_smsmessagetracking" into the DE. Now I want to update object wherein sales cloud org with the respective tracking details like SMS delivery status, ...
Rushikesh Pandit's user avatar
0 votes
1 answer
295 views

API From Mobile Connect Via Ampscript

I am trying to take all responses from Mobile Connect and dump them into a third party resource for analysis via an ampscript api. I am trying to do this within mobile connect using ampscript but I ...
Nate Harris's user avatar
0 votes
1 answer
3k views

Sending SMS with Ampscript? Is it possible?

There is an attempt I would like to try but I would like to ask if it's even possible. I have an automation that send out emails. I would like to send a text message out the same time that the ...
tkhuynh's user avatar
  • 211
0 votes
4 answers
513 views

In a SMS only display a variable if under a certain lenght

I wanted to send a SMS and only display the "FirstName" of the recipient if this variable is under a certain character length. I was looking at how to do this and can see two options: Length %%[IF (...
Luke Harrison's user avatar
0 votes
1 answer
2k views

Ampscript to lookup DataExtension in Mobile Connect

I want to lookup a data extension in mobile connect optin message using Ampscript. We are sending that SMS using API call. In my code I am looking up using mobile_number, I can see that the ...
Sanchit Mittal's user avatar
0 votes
1 answer
2k views

Redirect link in SMS messages

Is it possible to add the URL link to a specific word in an SMS? For example: Please visit our website for more information.
fromero's user avatar
  • 1,049
0 votes
1 answer
296 views

MobileConnect AMPSCript not working properly

We have two Data extensions, one contains the information about the contacts to which we need to send the SMS(User_Information) and other contains the Date and the SMS content(SMSContentInfo).At ...
shashank tewari's user avatar
0 votes
2 answers
53 views

Sequential number shows up in MobileConnect Outbound Message when triggered through Automation Studio

I have set up following activities in Automation Studio: See below for Order: 1. File Drop 2. Import the data into a data extension 3. Import Mobile Contacts Activity 4. Automation SMS Send activity -...
Sudhir Kumar's user avatar
0 votes
1 answer
870 views

ExactTarget AmpScript SMS - Mobile Connect

I am using below AMPscript in sms to display current time in SMS. But I am getting blank message where I have used the function. %%=SystemDateToLocalDate(Now())=%% Can you please help above is not ...
Praneet's user avatar
  • 121
0 votes
2 answers
2k views

Retrieving Subscriber Key from an MO message using AMPscript

We're trying to achieve the following workflow with AMPscript and MobileConnect and was wondering if someone could assist. 1. Send an Outbound message (using the Fuel REST MessageContactSend ...
Eliot Harper's user avatar
  • 16.7k
0 votes
1 answer
99 views

SMS not sent with LookupOrderedRows function

I used the LookupRows function in the SMS template, but when a new record with an existing ID inserts in the data extension, the SMS sent the old record info version and not the new ones. I found the ...
Slavik Kharkovskiy's user avatar
0 votes
1 answer
2k views

Passing attributes via SMS and capturing response to Data extension

I have an Outbound SMS message and a Text response message setup. These work as planned based on the Next Keyword 'INFO' When a customer replies with this keyword i want to save their information ...
Rahul's user avatar
  • 53