Docs Using Feedback Pilgrim
Testimonials
Collect testimonials with an optional rating, import them from Senja, approve them, and ask for them by email when a request ships.
A testimonial is a text from a customer, with an optional star rating from 1 to 5. A testimonial shows on the public site after a user approves it.
Where testimonials come from
| Source | Fields | Approved at creation | Author |
|---|---|---|---|
The public site (/testimonials/create) |
Title, description, rating | No | The signed-in contact |
| The widget | Description, rating | No | The contact of the widget, or Anonymous User |
| The dashboard (Testimonials > New) | Title, description, user name, subtitle, contact, rating | Yes | The contact that you choose, or none |
| The REST API or the MCP server | Description, user name, rating, contact | No | The contact that you give, or none |
| A Senja CSV file (Testimonials > Import) | Title, description, user name, subtitle, avatar, rating, date | Yes | None |
On the public site, a contact can edit their own testimonials. A contact sees their own testimonials before approval.
The widget endpoint accepts 5 testimonials a minute from each IP address.
Import testimonials from Senja
You can import a CSV export from Senja. Each row with text becomes an approved testimonial.
- In Senja, export your testimonials as a CSV file.
- In the dashboard, open Testimonials.
- Click Import.
- In CSV file, select the file.
- Click Import.
The page then shows "Imported N testimonials (D already imported, M skipped)."
The columns
| Senja column | Testimonial field |
|---|---|
text |
The description. A row without text is skipped. |
customer_name |
The user name. If it is empty, the user name is Anonymous. |
customer_tagline |
The subtitle |
customer_company |
The subtitle, if customer_tagline is empty |
customer_avatar |
The avatar. The app copies the image of an https URL of 255 characters or fewer. Read Avatars of imported testimonials. |
rating |
The rating, from 1 to 5. Another value, for example 0, gives no rating. |
title |
The title |
date |
The creation date and the approval date. If the date is empty or not valid, the app uses the time of the import. |
The file must have the columns text and customer_name. If one is missing, the app refuses the file with "This doesn't look like a Senja CSV export — the expected columns are missing."
Limits of the import
- The file is a CSV file of 2 MB or less.
- The file has 5000 rows or fewer. If the file has more rows, the app imports no row. Split the file and import each part.
- The app skips a row with text of more than 5000 characters. It also skips a row with a title, a user name or a subtitle of more than 255 characters.
- The app keeps the rating of a row also when the Rating setting is off.
- The imported testimonials have no contact.
- The app skips a row that is already in the project. Read Import the same file again.
- A project can run one import at a time. If an import of the project runs, the app refuses a second import with "Another import of testimonials is running. Try again in a minute."
- A user can start 10 imports each minute.
Import the same file again
You can import a new Senja export that has the rows of an earlier export. The app skips each row that is already in the project. The result shows the count of these rows as "already imported".
A row is already in the project when a testimonial of the project has the same user name and the same description. The Senja export has no ID for each row, so the app compares these two values.
- If you edit the description of an imported testimonial, the next import adds the row from Senja again.
- If two people wrote the same text, and they have the same name, the app imports only the first row.
- The app also finds the testimonials that an import made before this change.
Avatars of imported testimonials
The app copies each avatar to its own storage. The public site does not load images from Senja.
The copy runs on the queue after the import. Until the copy is done, the testimonial shows an avatar with the initials of the user name. If no queue worker runs, the copy does not occur. Read Queues and the scheduler.
The app does not copy an avatar in these cases. The testimonial then keeps the initials avatar.
- The URL is not
https, or it has more than 255 characters. - The host of the URL has a private or local address.
- The server answers with a redirect or an error, or it does not answer in 10 seconds.
- The image is larger than 1 MB.
- The file is not a PNG, JPEG, GIF or WebP image. The app reads the type from the file content.
When a copy fails, the app writes "Could not copy the avatar of an imported testimonial." to the log, with the testimonial ID and the reason.
The testimonials of imports that ran before this change keep the URL of the Senja image.
Approve a testimonial
Open the testimonial in the dashboard. Then:
- Approve sets the approval date. The public site shows the testimonial.
- The second button removes the approval date. The public site hides the testimonial again.
The REST API and the MCP server approve a testimonial when you set approved_at.
The Testimonials list can show all, the approved or the pending testimonials.
Testimonial settings
Open Settings > Testimonials.
| Setting | Default | What it does |
|---|---|---|
| Rating | Off | If on, the forms of the public site, the widget and the dashboard require a rating from 1 to 5. If off, these forms store no rating. |
| Automation | Off | If on, the app can ask for a testimonial by email when a post is complete. |
| Email text | A default text | The text of the request email. 5000 characters or fewer. |
Ask for a testimonial automatically
If Automation is on, the app can send the email "Share your experience with us!". It does this when a user moves a post to a stage of the type complete. The app sends the email to the author of the post only if all these conditions are true:
- The post has an author.
- The author has no testimonial in the project yet.
- No other post of the author became complete in the last month.
The button in the email opens /testimonials/create on the public site and signs in the contact. The link stays valid for 7 days.
The email text
Put the token {testimonialButton} in the email text. The app puts the Leave a Testimonial button in that place. The text before the token goes above the button, and the text after the token goes below it. If the text has no token, the app puts the button at the end.
The app prints the email text as plain text. It does not fill in variables. The default text starts with Hi {{ $contact->name ?? $contact->email }},, and the email shows this expression as it is. To greet the customer correctly, replace the expression with your own greeting.